- 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:
Christoph Oelckers 2017-02-15 11:55:08 +01:00
commit d8ebbcfc08
8 changed files with 20 additions and 6 deletions

View file

@ -1365,7 +1365,7 @@ void G_FinishTravel ()
for (int i = 0; i < pawnsnum; i++)
{
// [ZZ] fire the enter hook.
E_PlayerEntered(pawns[i]->player - players, true);
E_PlayerEntered(int(pawns[i]->player - players), true);
//
FBehavior::StaticStartTypedScripts(SCRIPT_Return, pawns[i], true);
}