IsPedDeadOrDying returns true when a ped has been deleted. this check happens on a separate thread, potentially allowing this to be called on peds that have been deleted by the main thread, when unloading patients at the hospital.
this fix should skip the areAnyPedsDead check when unloading peds at the hospital.
IsPedDeadOrDying
returns true when a ped has been deleted. this check happens on a separate thread, potentially allowing this to be called on peds that have been deleted by the main thread, when unloading patients at the hospital.this fix should skip the
areAnyPedsDead
check when unloading peds at the hospital.