diff options
author | Paul Gilbert | 2015-06-30 20:01:53 -0400 |
---|---|---|
committer | Paul Gilbert | 2015-06-30 20:01:53 -0400 |
commit | 8e4fca0e75639caa5d425682d8e8d09a5dbf1c27 (patch) | |
tree | 4319eacb182a3244a2c5174cdae2ee8c36247535 /engines/sherlock/tattoo | |
parent | 44676d02f4fd653e9302ef2a28d3cfd895984d22 (diff) | |
download | scummvm-rg350-8e4fca0e75639caa5d425682d8e8d09a5dbf1c27.tar.gz scummvm-rg350-8e4fca0e75639caa5d425682d8e8d09a5dbf1c27.tar.bz2 scummvm-rg350-8e4fca0e75639caa5d425682d8e8d09a5dbf1c27.zip |
SHERLOCK: RT: Fix inventory tooltip when hovering on empty slots
Diffstat (limited to 'engines/sherlock/tattoo')
-rw-r--r-- | engines/sherlock/tattoo/widget_inventory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |