Bump save version for bigger WeaponState property

This commit is contained in:
Randy Heit 2015-12-31 15:44:52 -06:00
parent 3566d3157a
commit 4931c90839
2 changed files with 2 additions and 2 deletions

View file

@ -3043,7 +3043,7 @@ void player_t::Serialize (FArchive &arc)
WeaponState = ((cheats >> 14) & 1) | ((cheats & (0x37 << 24)) >> (24 - 1)); WeaponState = ((cheats >> 14) & 1) | ((cheats & (0x37 << 24)) >> (24 - 1));
cheats &= ~((1 << 14) | (0x37 << 24)); cheats &= ~((1 << 14) | (0x37 << 24));
} }
if (SaveVersion < 4526) if (SaveVersion < 4527)
{ {
BYTE oldWeaponState; BYTE oldWeaponState;
arc << oldWeaponState; arc << oldWeaponState;

View file

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