diff options
author | Paul Gilbert | 2015-05-20 21:18:49 -0400 |
---|---|---|
committer | Paul Gilbert | 2015-05-20 21:18:49 -0400 |
commit | feff241ef7bd4552d44d1e3fa7b3e16f259ca749 (patch) | |
tree | 4f173dab5b8d9bcbf67afe0813587475b5c3dc6e /engines/sherlock | |
parent | 46e85f389f4fb9f3d956c42e77345f79701d7a93 (diff) | |
download | scummvm-rg350-feff241ef7bd4552d44d1e3fa7b3e16f259ca749.tar.gz scummvm-rg350-feff241ef7bd4552d44d1e3fa7b3e16f259ca749.tar.bz2 scummvm-rg350-feff241ef7bd4552d44d1e3fa7b3e16f259ca749.zip |
SHERLOCK: Replace another ONSCREEN_FILES_COUNT value
Diffstat (limited to 'engines/sherlock')
-rw-r--r-- | engines/sherlock/saveload.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sherlock/saveload.cpp b/engines/sherlock/saveload.cpp index 077df7494f..ddf4917a34 100644 --- a/engines/sherlock/saveload.cpp +++ b/engines/sherlock/saveload.cpp @@ -358,7 +358,7 @@ bool SaveManager::checkGameOnScreen(int slot) { Screen &screen = *_vm->_screen; // Check if it's already on-screen - if (slot != -1 && (slot < _savegameIndex || slot >= (_savegameIndex + 5))) { + if (slot != -1 && (slot < _savegameIndex || slot >= (_savegameIndex + ONSCREEN_FILES_COUNT))) { _savegameIndex = slot; screen._backBuffer1.fillRect(Common::Rect(3, CONTROLS_Y + 11, SHERLOCK_SCREEN_WIDTH - 2, |