SHERLOCK: RT: Fix inventory tooltip when hovering on empty slots

This commit is contained in:
Paul Gilbert 2015-06-30 20:01:53 -04:00
parent 44676d02f4
commit 8e4fca0e75

View File

@ -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);