aboutsummaryrefslogtreecommitdiff
path: root/engines/sword1
diff options
context:
space:
mode:
authorMax Horn2008-11-05 15:41:12 +0000
committerMax Horn2008-11-05 15:41:12 +0000
commitfe2935ad4b550afa68977169140267ef2ef4a3da (patch)
treebd442c3ffe15d1dc66c3eb7018e304e697bbedaf /engines/sword1
parent79614d28b630e8176dc9692fa4f7b14f8338c2c4 (diff)
downloadscummvm-rg350-fe2935ad4b550afa68977169140267ef2ef4a3da.tar.gz
scummvm-rg350-fe2935ad4b550afa68977169140267ef2ef4a3da.tar.bz2
scummvm-rg350-fe2935ad4b550afa68977169140267ef2ef4a3da.zip
Got rid of the unused 'filename' attribute in SaveStateDescriptor
svn-id: r34905
Diffstat (limited to 'engines/sword1')
-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++;
}
}