mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-12 03:56:20 +00:00
SHERLOCK: RT: Fix inventory tooltip when hovering on empty slots
This commit is contained in:
parent
44676d02f4
commit
8e4fca0e75
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user