foxygit / doom Log in
commit 20fcb6053d7d9c212a2b5a9e1a4aa4be0e97040b
Author:     James Haley <haleyjd@hotmail.com>
AuthorDate: Sun Sep 22 19:19:49 2013 +0000
Commit:     James Haley <haleyjd@hotmail.com>
CommitDate: Sun Sep 22 19:19:49 2013 +0000

    Small fix to a big problem regarding save slots.

    Subversion-branch: /branches/v2-branch
    Subversion-revision: 2679
---
 src/strife/m_menu.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/src/strife/m_menu.c b/src/strife/m_menu.c
index 20b56ff2..6426232f 100644
--- a/src/strife/m_menu.c
+++ b/src/strife/m_menu.c
@@ -741,7 +741,12 @@ void M_DoSave(int slot)
         sendsave = 1;
         G_WriteSaveName(slot, savegamestrings[slot]);
         M_ClearMenus(0);
-        quickSaveSlot = slot;
+        quickSaveSlot = slot;
+        // haleyjd 20130922: slight divergence. We clear the destination slot
+        // of files here, which vanilla did not do. As a result, 1.31 had
+        // broken save behavior to the point of unusability. fraggle agrees
+        // this is detrimental enough to be fixed - unconditionally, for now.
+        ClearSlot();
         FromCurr();
     }
     else