aboutsummaryrefslogtreecommitdiff
path: root/engines/sword1/sword1.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sword1/sword1.cpp')
-rw-r--r--engines/sword1/sword1.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sword1/sword1.cpp b/engines/sword1/sword1.cpp
index 6e5420787b..982b6cf6e4 100644
--- a/engines/sword1/sword1.cpp
+++ b/engines/sword1/sword1.cpp
@@ -259,7 +259,7 @@ SaveStateList SwordMetaEngine::listSaves(const char *target) const {
// FIXME: The in-game dialog shows the first save slot as 1, not 0,
// but if we change the numbering here, the launcher won̈́t set
// "save_slot" correctly.
- saveList.push_back(SaveStateDescriptor(slotNum, saveDesc, *file));
+ saveList.push_back(SaveStateDescriptor(slotNum, saveDesc));
file++;
}
}