summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJames Haley2013-09-22 19:19:49 +0000
committerJames Haley2013-09-22 19:19:49 +0000
commit20fcb6053d7d9c212a2b5a9e1a4aa4be0e97040b (patch)
treefa30219a0914771fdbd7ecb5d6770d7d8c05a477 /src
parent779653135172cfce29dd395a7ca93332bd637c09 (diff)
downloadchocolate-doom-20fcb6053d7d9c212a2b5a9e1a4aa4be0e97040b.tar.gz
chocolate-doom-20fcb6053d7d9c212a2b5a9e1a4aa4be0e97040b.tar.bz2
chocolate-doom-20fcb6053d7d9c212a2b5a9e1a4aa4be0e97040b.zip
Small fix to a big problem regarding save slots.
Subversion-branch: /branches/v2-branch Subversion-revision: 2679
Diffstat (limited to 'src')
-rw-r--r--src/strife/m_menu.c7
1 files changed, 6 insertions, 1 deletions
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