Update spawn_object.c

This commit is contained in:
Fazana
2021-09-09 14:05:38 +01:00
committed by GitHub
parent 93f8872bd9
commit 2894e3cab8

View File

@@ -357,6 +357,8 @@ struct Object *create_object(const BehaviorScript *bhvScript) {
*/
void mark_obj_for_deletion(struct Object *obj) {
//! Same issue as obj_mark_for_deletion
#ifdef PUPPYLIGHTS
obj_disable_light(obj);
#endif
obj->activeFlags = ACTIVE_FLAG_DEACTIVATED;
}