Update spawn_object.c
This commit is contained in:
1 parent
93f8872bd9
commit
2894e3cab8
1 file changed
+2
@@ -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;
|
||||
}
|
||||
Reference in new issue
Block a user