From b71bfdd53175214207659f3b80146bf9c4534ff2 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Fri, 4 May 2018 19:36:22 -0400 Subject: XEEN: Savegame name wasn't showing up for slot 99 --- engines/xeen/detection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/xeen') 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) { -- cgit v1.2.3