diff options
author | Max Horn | 2008-11-05 15:41:12 +0000 |
---|---|---|
committer | Max Horn | 2008-11-05 15:41:12 +0000 |
commit | fe2935ad4b550afa68977169140267ef2ef4a3da (patch) | |
tree | bd442c3ffe15d1dc66c3eb7018e304e697bbedaf /engines/sky | |
parent | 79614d28b630e8176dc9692fa4f7b14f8338c2c4 (diff) | |
download | scummvm-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/sky')
-rw-r--r-- | engines/sky/sky.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sky/sky.cpp b/engines/sky/sky.cpp index 605d7b6e04..8250766f1a 100644 --- a/engines/sky/sky.cpp +++ b/engines/sky/sky.cpp @@ -239,7 +239,7 @@ SaveStateList SkyMetaEngine::listSaves(const char *target) const { // Slot 0 is the autosave, if it exists. // TODO: Check for the existence of the autosave -- but this require us // to know which SKY variant we are looking at. - saveList.insert_at(0, SaveStateDescriptor(0, "*AUTOSAVE*", "")); + saveList.insert_at(0, SaveStateDescriptor(0, "*AUTOSAVE*")); // Prepare the list of savestates by looping over all matching savefiles for (Common::StringList::const_iterator file = filenames.begin(); file != filenames.end(); file++) { @@ -250,7 +250,7 @@ SaveStateList SkyMetaEngine::listSaves(const char *target) const { int slotNum = atoi(ext.c_str()); Common::InSaveFile *in = saveFileMan->openForLoading(file->c_str()); if (in) { - saveList.push_back(SaveStateDescriptor(slotNum+1, savenames[slotNum], *file)); + saveList.push_back(SaveStateDescriptor(slotNum+1, savenames[slotNum])); delete in; } } |