From 8e4fca0e75639caa5d425682d8e8d09a5dbf1c27 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Tue, 30 Jun 2015 20:01:53 -0400 Subject: SHERLOCK: RT: Fix inventory tooltip when hovering on empty slots --- engines/sherlock/tattoo/widget_inventory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/sherlock/tattoo/widget_inventory.cpp b/engines/sherlock/tattoo/widget_inventory.cpp index b4a6daabc2..1b4fa69a76 100644 --- a/engines/sherlock/tattoo/widget_inventory.cpp +++ b/engines/sherlock/tattoo/widget_inventory.cpp @@ -118,7 +118,7 @@ void WidgetInventoryTooltip::handleEvents() { TattooUserInterface &ui = *(TattooUserInterface *)_vm->_ui; Common::Point mousePos = events.mousePos(); Common::String str; - int select = -1, oldSelect = -1; + int select = -1, oldSelect = 999; Common::String strWith = fixedText.getText(kFixedText_With); Common::String strUse = fixedText.getText(kFixedText_Use); -- cgit v1.2.3