mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-27 04:41:23 +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:
|
// 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…
Reference in a new issue