aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Kiewitz2016-01-31 18:47:55 +0100
committerMartin Kiewitz2016-01-31 18:47:55 +0100
commit8ffbe15cc622c16762e3fb5462e53d1dbf23cb72 (patch)
tree510cfd5416c71914257b249d124a2b32e3de8844
parent5299750cf9dce3dec59b7bd95bbac2a25ce62bfd (diff)
downloadscummvm-rg350-8ffbe15cc622c16762e3fb5462e53d1dbf23cb72.tar.gz
scummvm-rg350-8ffbe15cc622c16762e3fb5462e53d1dbf23cb72.tar.bz2
scummvm-rg350-8ffbe15cc622c16762e3fb5462e53d1dbf23cb72.zip
SHERLOCK: SS: fix another warning
-rw-r--r--engines/sherlock/scalpel/scalpel_user_interface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sherlock/scalpel/scalpel_user_interface.cpp b/engines/sherlock/scalpel/scalpel_user_interface.cpp
index 3c2ed42ad1..4e7cf5c378 100644
--- a/engines/sherlock/scalpel/scalpel_user_interface.cpp
+++ b/engines/sherlock/scalpel/scalpel_user_interface.cpp
@@ -1315,7 +1315,7 @@ void ScalpelUserInterface::doMainControl() {
for (uint16 buttonNr = 0; buttonNr < 12; buttonNr++) {
Common::Rect r(MENU_POINTS[buttonNr][0], MENU_POINTS[buttonNr][1],
MENU_POINTS[buttonNr][2], MENU_POINTS[buttonNr][3]);
- if (IS_3DO && buttonNr >= 0 && buttonNr <= 2) {
+ if (IS_3DO && buttonNr <= 2) {
r.left += UI_OFFSET_3DO - 1;
r.right += UI_OFFSET_3DO - 1;
}