mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 23:32:02 +00:00
- 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:
parent
f539803d49
commit
cd9e18a72b
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue