mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-29 07:22:07 +00:00
- fixed: The respawn event handler was not called for a regular in-game respawn, only for a cheat resurrection.
This commit is contained in:
parent
6055f136d8
commit
7736e42740
1 changed files with 1 additions and 0 deletions
|
@ -5563,6 +5563,7 @@ APlayerPawn *P_SpawnPlayer (FPlayerStart *mthing, int playernum, int flags)
|
|||
for (int ii=0; ii < BODYQUESIZE; ++ii)
|
||||
if (bodyque[ii] == p->mo)
|
||||
bodyque[ii] = oldactor;
|
||||
E_PlayerRespawned(int(p - players));
|
||||
FBehavior::StaticStartTypedScripts (SCRIPT_Respawn, p->mo, true);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue