- 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
|
|
@ -611,7 +611,7 @@ void AActor::Die (AActor *source, AActor *inflictor, int dmgflags)
|
|||
ClientObituary (this, inflictor, source, dmgflags);
|
||||
|
||||
// [ZZ] fire player death hook
|
||||
E_PlayerDied(player - players);
|
||||
E_PlayerDied(int(player - players));
|
||||
|
||||
// Death script execution, care of Skull Tag
|
||||
FBehavior::StaticStartTypedScripts (SCRIPT_Death, this, true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue