Fixed crash in bhv_chain_chomp_chain_part_update()
This commit is contained in:
parent
9e513194b8
commit
296ecdfe17
|
@ -32,6 +32,8 @@ void bhv_chain_chomp_chain_part_update(void) {
|
|||
sync_object_init(o, SYNC_DISTANCE_ONLY_DEATH);
|
||||
}
|
||||
|
||||
if (!o->parentObj) { return; }
|
||||
|
||||
if (o->parentObj->activeFlags == ACTIVE_FLAG_DEACTIVATED || o->parentObj->oAction == CHAIN_CHOMP_ACT_UNLOAD_CHAIN) {
|
||||
obj_mark_for_deletion(o);
|
||||
network_send_object(o);
|
||||
|
|
Loading…
Reference in New Issue