mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-19 07:51:43 +00:00
Commenting out lastmapsaved
This commit is contained in:
parent
9d17466d99
commit
2d9a024c4a
4 changed files with 5 additions and 5 deletions
|
@ -41,7 +41,7 @@ extern INT16 maptol;
|
|||
extern UINT8 globalweather;
|
||||
extern INT32 curWeather;
|
||||
extern INT32 cursaveslot;
|
||||
extern INT16 lastmapsaved;
|
||||
//extern INT16 lastmapsaved;
|
||||
extern INT16 lastmaploaded;
|
||||
extern boolean gamecomplete;
|
||||
|
||||
|
|
|
@ -77,7 +77,7 @@ INT16 maptol;
|
|||
UINT8 globalweather = 0;
|
||||
INT32 curWeather = PRECIP_NONE;
|
||||
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
|
||||
boolean gamecomplete = false;
|
||||
|
||||
|
|
|
@ -6111,7 +6111,7 @@ static void M_ChoosePlayer(INT32 choice)
|
|||
if (startmap != spstage_start)
|
||||
cursaveslot = -1;
|
||||
|
||||
lastmapsaved = 0;
|
||||
//lastmapsaved = 0;
|
||||
gamecomplete = false;
|
||||
|
||||
G_DeferedInitNew(ultmode, G_BuildMapName(startmap), (UINT8)skinnum, false, fromlevelselect);
|
||||
|
|
|
@ -3159,7 +3159,7 @@ static inline void P_ArchiveMisc(void)
|
|||
else
|
||||
WRITEINT16(save_p, gamemap);
|
||||
|
||||
lastmapsaved = gamemap;
|
||||
//lastmapsaved = gamemap;
|
||||
lastmaploaded = gamemap;
|
||||
|
||||
WRITEUINT16(save_p, (botskin ? (emeralds|(1<<10)) : emeralds)+357);
|
||||
|
@ -3185,7 +3185,7 @@ static inline void P_UnArchiveSPGame(INT16 mapoverride)
|
|||
if(!mapheaderinfo[gamemap-1])
|
||||
P_AllocMapHeader(gamemap-1);
|
||||
|
||||
lastmapsaved = gamemap;
|
||||
//lastmapsaved = gamemap;
|
||||
lastmaploaded = gamemap;
|
||||
|
||||
tokenlist = 0;
|
||||
|
|
Loading…
Reference in a new issue