[Scummvm-git-logs] scummvm master -> b71bfdd53175214207659f3b80146bf9c4534ff2
dreammaster
dreammaster at scummvm.org
Sat May 5 01:36:27 CEST 2018
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
b71bfdd531 XEEN: Savegame name wasn't showing up for slot 99
Commit: b71bfdd53175214207659f3b80146bf9c4534ff2
https://github.com/scummvm/scummvm/commit/b71bfdd53175214207659f3b80146bf9c4534ff2
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2018-05-04T19:36:22-04:00
Commit Message:
XEEN: Savegame name wasn't showing up for slot 99
Changed paths:
engines/xeen/detection.cpp
diff --git a/engines/xeen/detection.cpp b/engines/xeen/detection.cpp
index 1b9c260..8a5e096 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) {
More information about the Scummvm-git-logs
mailing list