You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (GameID() == eGameIDSingle && this->ID() == Actor()->ID())
258
+
{
257
259
//AVO: allow scripts to process actor condition and prevent actor's death or kill him if desired.
258
260
//IMPORTANT: if you wish to kill actor you need to call db.actor:kill(level:object_by_id(whoID), true) in actor_before_death callback, to ensure all objects are properly destroyed
259
261
// this will bypass below if block and go to normal KillEntity routine.
260
262
#ifdef ACTOR_BEFORE_DEATH_CALLBACK
261
-
if (IsGameTypeSingle() && this->ID() == Actor()->ID() && bypass_actor_check != true)
0 commit comments