aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Kiewitz2016-01-30 17:26:04 +0100
committerMartin Kiewitz2016-01-30 17:26:04 +0100
commitda486f0f91e762219ee96d9d6625758e6f5b319e (patch)
tree49fecc06ca4c39ba391491207bfc33cf014d1f33
parent9a91ed930d114d3ed7a6e493a3e82886464f0aa9 (diff)
downloadscummvm-rg350-da486f0f91e762219ee96d9d6625758e6f5b319e.tar.gz
scummvm-rg350-da486f0f91e762219ee96d9d6625758e6f5b319e.tar.bz2
scummvm-rg350-da486f0f91e762219ee96d9d6625758e6f5b319e.zip
SHERLOCK: SS: fix inventory button gfx glitch
-rw-r--r--engines/sherlock/scalpel/scalpel_user_interface.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/sherlock/scalpel/scalpel_user_interface.cpp b/engines/sherlock/scalpel/scalpel_user_interface.cpp
index c48c2af884..3ed4368a45 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;
}