diff options
author | Paul Gilbert | 2018-05-04 19:36:22 -0400 |
---|---|---|
committer | Paul Gilbert | 2018-05-04 19:36:22 -0400 |
commit | b71bfdd53175214207659f3b80146bf9c4534ff2 (patch) | |
tree | 6011bc19b27b42710b9dca1f74ec1a99d1e091e9 | |
parent | 0cd62950de75b45379cc49322f1a038f8dadbb17 (diff) | |
download | scummvm-rg350-b71bfdd53175214207659f3b80146bf9c4534ff2.tar.gz scummvm-rg350-b71bfdd53175214207659f3b80146bf9c4534ff2.tar.bz2 scummvm-rg350-b71bfdd53175214207659f3b80146bf9c4534ff2.zip |
XEEN: Savegame name wasn't showing up for slot 99
-rw-r--r-- | engines/xeen/detection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/xeen/detection.cpp b/engines/xeen/detection.cpp index 1b9c260e35..8a5e096220 100644 --- a/engines/xeen/detection.cpp +++ b/engines/xeen/detection.cpp @@ -181,7 +181,7 @@ SaveStateList XeenMetaEngine::listSaves(const char *target) const { const char *ext = strrchr(file->c_str(), '.'); int slot = ext ? atoi(ext + 1) : -1; - if (slot >= 0 && slot < MAX_SAVES) { + if (slot >= 0 && slot <= MAX_SAVES) { Common::InSaveFile *in = g_system->getSavefileManager()->openForLoading(*file); if (in) { |