aboutsummaryrefslogtreecommitdiff
path: root/engines/xeen
diff options
context:
space:
mode:
authorPaul Gilbert2018-05-04 19:36:22 -0400
committerPaul Gilbert2018-05-04 19:36:22 -0400
commitb71bfdd53175214207659f3b80146bf9c4534ff2 (patch)
tree6011bc19b27b42710b9dca1f74ec1a99d1e091e9 /engines/xeen
parent0cd62950de75b45379cc49322f1a038f8dadbb17 (diff)
downloadscummvm-rg350-b71bfdd53175214207659f3b80146bf9c4534ff2.tar.gz
scummvm-rg350-b71bfdd53175214207659f3b80146bf9c4534ff2.tar.bz2
scummvm-rg350-b71bfdd53175214207659f3b80146bf9c4534ff2.zip
XEEN: Savegame name wasn't showing up for slot 99
Diffstat (limited to 'engines/xeen')
-rw-r--r--engines/xeen/detection.cpp2
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) {