mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Merge branch 'vanilia-savegame-fix' into 'master'
Fix saving game progress on a unmodified game See merge request STJr/SRB2!433
This commit is contained in:
commit
c181ac84ba
1 changed files with 1 additions and 1 deletions
|
|
@ -2630,7 +2630,7 @@ static boolean P_CanSave(void)
|
||||||
{
|
{
|
||||||
// Saving is completely ignored under these conditions:
|
// Saving is completely ignored under these conditions:
|
||||||
if ((cursaveslot < 0) // Playing without saving
|
if ((cursaveslot < 0) // Playing without saving
|
||||||
|| (!modifiedgame || savemoddata) // Game is modified
|
|| (modifiedgame && !savemoddata) // Game is modified
|
||||||
|| (netgame || multiplayer) // Not in single-player
|
|| (netgame || multiplayer) // Not in single-player
|
||||||
|| (demoplayback || demorecording || metalrecording) // Currently in demo
|
|| (demoplayback || demorecording || metalrecording) // Currently in demo
|
||||||
|| (players[consoleplayer].lives <= 0) // Completely dead
|
|| (players[consoleplayer].lives <= 0) // Completely dead
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue