[Scummvm-cvs-logs] scummvm master -> da486f0f91e762219ee96d9d6625758e6f5b319e

m-kiewitz m_kiewitz at users.sourceforge.net
Sat Jan 30 17:24:13 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:
da486f0f91 SHERLOCK: SS: fix inventory button gfx glitch


Commit: da486f0f91e762219ee96d9d6625758e6f5b319e
    https://github.com/scummvm/scummvm/commit/da486f0f91e762219ee96d9d6625758e6f5b319e
Author: Martin Kiewitz (m_kiewitz at users.sourceforge.net)
Date: 2016-01-30T17:26:04+01:00

Commit Message:
SHERLOCK: SS: fix inventory button gfx glitch

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 c48c2af..3ed4368 100644
--- a/engines/sherlock/scalpel/scalpel_user_interface.cpp
+++ b/engines/sherlock/scalpel/scalpel_user_interface.cpp
@@ -1007,12 +1007,12 @@ void ScalpelUserInterface::doInvControl() {
 		if (found != -1)
 			// If a slot highlighted, set its color
 			colors[found] = COMMAND_HIGHLIGHTED;
-		screen.buttonPrint(Common::Point(INVENTORY_POINTS[0][2], CONTROLS_Y1), colors[0], true, inv._fixedTextExit);
+		screen.buttonPrint(Common::Point(INVENTORY_POINTS[0][2], CONTROLS_Y1), colors[0], true, inv._fixedTextExit, true);
 
 		if (found >= 0 && found <= 3) {
-			screen.buttonPrint(Common::Point(INVENTORY_POINTS[1][2], CONTROLS_Y1), colors[1], true, inv._fixedTextLook);
-			screen.buttonPrint(Common::Point(INVENTORY_POINTS[2][2], CONTROLS_Y1), colors[2], true, inv._fixedTextUse);
-			screen.buttonPrint(Common::Point(INVENTORY_POINTS[3][2], CONTROLS_Y1), colors[3], true, inv._fixedTextGive);
+			screen.buttonPrint(Common::Point(INVENTORY_POINTS[1][2], CONTROLS_Y1), colors[1], true, inv._fixedTextLook, true);
+			screen.buttonPrint(Common::Point(INVENTORY_POINTS[2][2], CONTROLS_Y1), colors[2], true, inv._fixedTextUse, true);
+			screen.buttonPrint(Common::Point(INVENTORY_POINTS[3][2], CONTROLS_Y1), colors[3], true, inv._fixedTextGive, true);
 			inv._invMode = (InvMode)found;
 			_selector = -1;
 		}






More information about the Scummvm-git-logs mailing list