mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-15 01:01:33 +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
e39c6b47e7
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:
|
||||
if ((cursaveslot < 0) // Playing without saving
|
||||
|| (!modifiedgame || savemoddata) // Game is modified
|
||||
|| (modifiedgame && !savemoddata) // Game is modified
|
||||
|| (netgame || multiplayer) // Not in single-player
|
||||
|| (demoplayback || demorecording || metalrecording) // Currently in demo
|
||||
|| (players[consoleplayer].lives <= 0) // Completely dead
|
||||
|
|
Loading…
Reference in a new issue