[Scummvm-cvs-logs] scummvm master -> 8ffbe15cc622c16762e3fb5462e53d1dbf23cb72

m-kiewitz m_kiewitz at users.sourceforge.net
Sun Jan 31 18:48:28 CET 2016


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:
8ffbe15cc6 SHERLOCK: SS: fix another warning


Commit: 8ffbe15cc622c16762e3fb5462e53d1dbf23cb72
    https://github.com/scummvm/scummvm/commit/8ffbe15cc622c16762e3fb5462e53d1dbf23cb72
Author: Martin Kiewitz (m_kiewitz at users.sourceforge.net)
Date: 2016-01-31T18:47:55+01:00

Commit Message:
SHERLOCK: SS: fix another warning

Changed paths:
    engines/sherlock/scalpel/scalpel_user_interface.cpp



diff --git a/engines/sherlock/scalpel/scalpel_user_interface.cpp b/engines/sherlock/scalpel/scalpel_user_interface.cpp
index 3c2ed42..4e7cf5c 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;
 			}






More information about the Scummvm-git-logs mailing list