aboutsummaryrefslogtreecommitdiff
path: root/engines/sword1
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sword1')
-rw-r--r--engines/sword1/control.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/sword1/control.cpp b/engines/sword1/control.cpp
index 575ff2f0bc..7022aa89c7 100644
--- a/engines/sword1/control.cpp
+++ b/engines/sword1/control.cpp
@@ -724,6 +724,8 @@ void Control::readSavegameDescriptions(void) {
Common::StringList filenames = _saveFileMan->listSavefiles(pattern.c_str());
sort(filenames.begin(), filenames.end()); // Sort (hopefully ensuring we are sorted numerically..)
+ _saveNames.clear();
+
int num = 0;
int slotNum = 0;
for (Common::StringList::const_iterator file = filenames.begin(); file != filenames.end(); ++file) {