- fixed: operator<< (FArchive &arc, secspecial_t &p) erroneously read the old special in the compatibility handler as a short, but it must be read as an int.

- bumped savegame version to bring it in line with a GZDoom exclusive change.
This commit is contained in:
Christoph Oelckers 2016-01-11 23:44:13 +01:00
parent f539803d49
commit cd9e18a72b
2 changed files with 2 additions and 2 deletions

View file

@ -883,7 +883,7 @@ FArchive &operator<< (FArchive &arc, secspecial_t &p)
{ {
if (SaveVersion < 4529) if (SaveVersion < 4529)
{ {
short special; int special;
arc << special; arc << special;
sector_t sec; sector_t sec;
P_InitSectorSpecial(&sec, special, true); P_InitSectorSpecial(&sec, special, true);

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 4530 #define SAVEVER 4531
#define SAVEVERSTRINGIFY2(x) #x #define SAVEVERSTRINGIFY2(x) #x
#define SAVEVERSTRINGIFY(x) SAVEVERSTRINGIFY2(x) #define SAVEVERSTRINGIFY(x) SAVEVERSTRINGIFY2(x)