- fixed: APlayerPawn::ViewHeight wasn't stored in savegames.

This commit is contained in:
Christoph Oelckers 2015-12-26 16:17:56 +01:00
parent 05b8e275cd
commit 1070bd9beb
2 changed files with 5 additions and 1 deletions

View File

@ -566,6 +566,10 @@ void APlayerPawn::Serialize (FArchive &arc)
{
arc << AirCapacity;
}
if (SaveVersion >= 4526)
{
arc << ViewHeight;
}
}
//===========================================================================

View File

@ -76,7 +76,7 @@ const char *GetVersionString();
// Use 4500 as the base git save version, since it's higher than the
// SVN revision ever got.
#define SAVEVER 4525
#define SAVEVER 4526
#define SAVEVERSTRINGIFY2(x) #x
#define SAVEVERSTRINGIFY(x) SAVEVERSTRINGIFY2(x)