From 0afe65462d48ea300ce4851bf40209184dfa8f08 Mon Sep 17 00:00:00 2001 From: Fazana <52551480+FazanaJ@users.noreply.github.com> Date: Thu, 9 Sep 2021 14:06:35 +0100 Subject: [PATCH] Update object_helpers.c --- src/game/object_helpers.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/game/object_helpers.c b/src/game/object_helpers.c index 84eb45fb..902ce4af 100644 --- a/src/game/object_helpers.c +++ b/src/game/object_helpers.c @@ -1140,7 +1140,9 @@ void obj_mark_for_deletion(struct Object *obj) { // setting it to 0 could potentially enable unexpected behavior. After an // object is marked for deletion, it still updates on that frame (I think), // so this is worth looking into. +#ifdef PUPPYLIGHTS obj_disable_light(obj); +#endif obj->activeFlags = ACTIVE_FLAG_DEACTIVATED; }