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;