- fixed: When loading a savegame the player class in the userinfo needs to be updated.
- fixed: Class pointers should not be added to the list of garbage collected pointers. - fixed several warnings in the event code.
This commit is contained in:
parent
6fef653aa1
commit
d8ebbcfc08
8 changed files with 20 additions and 6 deletions
|
|
@ -350,7 +350,7 @@ void cht_DoCheat (player_t *player, int cheat)
|
|||
|
||||
// player is now alive.
|
||||
// fire E_PlayerRespawned and start the ACS SCRIPT_Respawn.
|
||||
E_PlayerRespawned(player - players);
|
||||
E_PlayerRespawned(int(player - players));
|
||||
//
|
||||
FBehavior::StaticStartTypedScripts(SCRIPT_Respawn, player->mo, true);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue