aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2006-12-25 23:25:28 +0000
committerTravis Howell2006-12-25 23:25:28 +0000
commit352549c6e65ffdbb434583fa27dcb8fbcb95993b (patch)
tree130637ec8dc68a7642833a618e84bceef672da46
parentf54b9355002ea9e5c66e4f2c3b036fde044be163 (diff)
downloadscummvm-rg350-352549c6e65ffdbb434583fa27dcb8fbcb95993b.tar.gz
scummvm-rg350-352549c6e65ffdbb434583fa27dcb8fbcb95993b.tar.bz2
scummvm-rg350-352549c6e65ffdbb434583fa27dcb8fbcb95993b.zip
Set maximum saved game file to 998, since 999 is used for as restart state in FF
svn-id: r24927
-rw-r--r--engines/agos/saveload.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/agos/saveload.cpp b/engines/agos/saveload.cpp
index d6404cf9d7..e6b0b68291 100644
--- a/engines/agos/saveload.cpp
+++ b/engines/agos/saveload.cpp
@@ -39,7 +39,7 @@ int AGOSEngine::countSaveGames() {
uint i = 1;
bool marks[256];
- char *prefix = genSaveName(999);
+ char *prefix = genSaveName(998);
prefix[strlen(prefix)-3] = '\0';
_saveFileMan->listSavefiles(prefix, marks, 256);