aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorJulien Templier2010-10-26 12:10:49 +0000
committerJulien Templier2010-10-26 12:10:49 +0000
commit0b5cc5b9ff6abd20e5bdada69b1066b3657663e7 (patch)
tree76da7ef61780e3403c72cebb9d27c5c8e9674935 /engines
parent6bc59c0bb06e591167124633b06fb6ca9f1d32df (diff)
downloadscummvm-rg350-0b5cc5b9ff6abd20e5bdada69b1066b3657663e7.tar.gz
scummvm-rg350-0b5cc5b9ff6abd20e5bdada69b1066b3657663e7.tar.bz2
scummvm-rg350-0b5cc5b9ff6abd20e5bdada69b1066b3657663e7.zip
LASTEXPRESS: Fix forward/backward in the menu
svn-id: r53848
Diffstat (limited to 'engines')
-rw-r--r--engines/lastexpress/game/menu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/lastexpress/game/menu.cpp b/engines/lastexpress/game/menu.cpp
index 09e57a8ef6..a3604acf5a 100644
--- a/engines/lastexpress/game/menu.cpp
+++ b/engines/lastexpress/game/menu.cpp
@@ -1376,7 +1376,7 @@ void Menu::adjustIndex(uint32 time1, uint32 time2, bool searchEntry) {
}
++currentIndex;
- } while (currentIndex >= _savegameIndex);
+ } while (currentIndex <= _savegameIndex);
}
} else {
index = _index + 1;