Fix saving progress on vanilia

This commit is contained in:
Steel Titanium 2018-12-26 15:47:12 -05:00
parent 98e46f5b1c
commit 4f18ec60bc

View file

@ -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