aboutsummaryrefslogtreecommitdiff
path: root/engines/agi/detection.cpp
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/agi/detection.cpp
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/agi/detection.cpp')
-rw-r--r--engines/agi/detection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/agi/detection.cpp b/engines/agi/detection.cpp
index 1f3ba18bc4..880b8586e3 100644
--- a/engines/agi/detection.cpp
+++ b/engines/agi/detection.cpp
@@ -2184,7 +2184,7 @@ SaveStateList AgiMetaEngine::listSaves(const char *target) const {
uint32 type = in->readUint32BE();
if (type == AGIflag)
in->read(saveDesc, 31);
- saveList.push_back(SaveStateDescriptor(slotNum, Common::String(saveDesc), *file));
+ saveList.push_back(SaveStateDescriptor(slotNum, saveDesc));
delete in;
}
}