aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);