mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-22 09:22:18 -05:00
add descriptive todo for death crash bandaid (#655)
Co-authored-by: briaguya <briaguya@alice>
This commit is contained in:
parent
37bf9b36ad
commit
eab3b5bd7f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user