diff options
| author | briaguya <70942617+briaguya-ai@users.noreply.github.com> | 2022-07-11 21:58:31 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-11 21:58:31 -0400 |
| commit | eab3b5bd7f58fb04899879e22cce6bb8abce9db4 (patch) | |
| tree | 46d071f15c249402c735670f678a54b793cc05c4 /soh/src/code | |
| parent | 37bf9b36add06030d50cae83481947bfa12350a6 (diff) | |
add descriptive todo for death crash bandaid (#655)
Co-authored-by: briaguya <briaguya@alice>
Diffstat (limited to 'soh/src/code')
| -rw-r--r-- | soh/src/code/z_lights.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/soh/src/code/z_lights.c b/soh/src/code/z_lights.c index 77bd61abe..57986baf8 100644 --- a/soh/src/code/z_lights.c +++ b/soh/src/code/z_lights.c @@ -162,7 +162,9 @@ void Lights_BindAll(Lights* lights, LightNode* listHead, Vec3f* vec) { while (listHead != NULL) { info = listHead->info; - if (info->type < 3) { // bandaid fix for death crash issue + // OTRTODO: we do not know the root cause of the info->type value being invalid + // but this prevents it from crashing the game on the game over screen + if (info->type < 3) { bindFuncs[info->type](lights, &info->params, vec); } listHead = listHead->next; |
