mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-11 07:12:16 +00:00
Bump save version for bigger WeaponState property
This commit is contained in:
parent
3566d3157a
commit
4931c90839
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue