diff options
author | Martin Kiewitz | 2016-01-31 18:47:55 +0100 |
---|---|---|
committer | Martin Kiewitz | 2016-01-31 18:47:55 +0100 |
commit | 8ffbe15cc622c16762e3fb5462e53d1dbf23cb72 (patch) | |
tree | 510cfd5416c71914257b249d124a2b32e3de8844 /engines/sherlock/scalpel | |
parent | 5299750cf9dce3dec59b7bd95bbac2a25ce62bfd (diff) | |
download | scummvm-rg350-8ffbe15cc622c16762e3fb5462e53d1dbf23cb72.tar.gz scummvm-rg350-8ffbe15cc622c16762e3fb5462e53d1dbf23cb72.tar.bz2 scummvm-rg350-8ffbe15cc622c16762e3fb5462e53d1dbf23cb72.zip |
SHERLOCK: SS: fix another warning
Diffstat (limited to 'engines/sherlock/scalpel')
-rw-r--r-- | engines/sherlock/scalpel/scalpel_user_interface.cpp | 2 |
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; } |