aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock
diff options
context:
space:
mode:
authorPaul Gilbert2015-03-25 22:56:56 -0400
committerPaul Gilbert2015-03-25 22:56:56 -0400
commita8350c48e93143dd2d6344efce1b36c4e2eb34be (patch)
tree3690327a8d857a38e9b92e8a291992bf11abd4fd /engines/sherlock
parent94d79c0ed36269fe1c7bbf08871329d166acc2f0 (diff)
downloadscummvm-rg350-a8350c48e93143dd2d6344efce1b36c4e2eb34be.tar.gz
scummvm-rg350-a8350c48e93143dd2d6344efce1b36c4e2eb34be.tar.bz2
scummvm-rg350-a8350c48e93143dd2d6344efce1b36c4e2eb34be.zip
SHERLOCK: Fix display of hotspot tooltips
Diffstat (limited to 'engines/sherlock')
-rw-r--r--engines/sherlock/user_interface.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/sherlock/user_interface.cpp b/engines/sherlock/user_interface.cpp
index b0ac0b169b..bcf460a821 100644
--- a/engines/sherlock/user_interface.cpp
+++ b/engines/sherlock/user_interface.cpp
@@ -173,7 +173,7 @@ void UserInterface::handleInput() {
if (_help != -1)
depressButton(_help);
- _help = _oldHelp;
+ _oldHelp = _help;
}
if (_bgFound != _oldBgFound || _oldBgFound == -1) {
@@ -185,6 +185,8 @@ void UserInterface::handleInput() {
screen.print(Common::Point(0, INFO_LINE + 1),
INFO_FOREGROUND, INFO_BACKGROUND, "%s",
scene._bgShapes[_bgFound]._description);
+
+ _oldBgFound = _bgFound;
}
} else {
// We're not in STD_MODE