shithub: choc

Download patch

ref: 20fcb6053d7d9c212a2b5a9e1a4aa4be0e97040b
parent: 779653135172cfce29dd395a7ca93332bd637c09
author: James Haley <[email protected]>
date: Sun Sep 22 15:19:49 EDT 2013

Small fix to a big problem regarding save slots.

Subversion-branch: /branches/v2-branch
Subversion-revision: 2679

--- a/src/strife/m_menu.c
+++ b/src/strife/m_menu.c
@@ -741,7 +741,12 @@
         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