From 4f18ec60bca2b2a63883c3a3d8215bbfa864ab2e Mon Sep 17 00:00:00 2001 From: Steel Titanium Date: Wed, 26 Dec 2018 15:47:12 -0500 Subject: [PATCH] Fix saving progress on vanilia --- src/p_setup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_setup.c b/src/p_setup.c index b1521a53..5e135598 100644 --- a/src/p_setup.c +++ b/src/p_setup.c @@ -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