Commenting out lastmapsaved

This commit is contained in:
TehRealSalt 2017-08-04 13:57:47 -04:00
parent 9d17466d99
commit 2d9a024c4a
4 changed files with 5 additions and 5 deletions

View file

@ -41,7 +41,7 @@ extern INT16 maptol;
extern UINT8 globalweather; extern UINT8 globalweather;
extern INT32 curWeather; extern INT32 curWeather;
extern INT32 cursaveslot; extern INT32 cursaveslot;
extern INT16 lastmapsaved; //extern INT16 lastmapsaved;
extern INT16 lastmaploaded; extern INT16 lastmaploaded;
extern boolean gamecomplete; extern boolean gamecomplete;

View file

@ -77,7 +77,7 @@ INT16 maptol;
UINT8 globalweather = 0; UINT8 globalweather = 0;
INT32 curWeather = PRECIP_NONE; INT32 curWeather = PRECIP_NONE;
INT32 cursaveslot = -1; // Auto-save 1p savegame slot INT32 cursaveslot = -1; // Auto-save 1p savegame slot
INT16 lastmapsaved = 0; // Last map we auto-saved at //INT16 lastmapsaved = 0; // Last map we auto-saved at
INT16 lastmaploaded = 0; // Last map the game loaded INT16 lastmaploaded = 0; // Last map the game loaded
boolean gamecomplete = false; boolean gamecomplete = false;

View file

@ -6111,7 +6111,7 @@ static void M_ChoosePlayer(INT32 choice)
if (startmap != spstage_start) if (startmap != spstage_start)
cursaveslot = -1; cursaveslot = -1;
lastmapsaved = 0; //lastmapsaved = 0;
gamecomplete = false; gamecomplete = false;
G_DeferedInitNew(ultmode, G_BuildMapName(startmap), (UINT8)skinnum, false, fromlevelselect); G_DeferedInitNew(ultmode, G_BuildMapName(startmap), (UINT8)skinnum, false, fromlevelselect);

View file

@ -3159,7 +3159,7 @@ static inline void P_ArchiveMisc(void)
else else
WRITEINT16(save_p, gamemap); WRITEINT16(save_p, gamemap);
lastmapsaved = gamemap; //lastmapsaved = gamemap;
lastmaploaded = gamemap; lastmaploaded = gamemap;
WRITEUINT16(save_p, (botskin ? (emeralds|(1<<10)) : emeralds)+357); WRITEUINT16(save_p, (botskin ? (emeralds|(1<<10)) : emeralds)+357);
@ -3185,7 +3185,7 @@ static inline void P_UnArchiveSPGame(INT16 mapoverride)
if(!mapheaderinfo[gamemap-1]) if(!mapheaderinfo[gamemap-1])
P_AllocMapHeader(gamemap-1); P_AllocMapHeader(gamemap-1);
lastmapsaved = gamemap; //lastmapsaved = gamemap;
lastmaploaded = gamemap; lastmaploaded = gamemap;
tokenlist = 0; tokenlist = 0;