aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/cstime_game.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2011-01-21 00:29:55 +0000
committerFilippos Karapetis2011-01-21 00:29:55 +0000
commit572dfd2a23d3b6789b83bfe102c62650113ad9b7 (patch)
tree1402a4ed5ff58904afb10547a95fef4ca177d337 /engines/mohawk/cstime_game.cpp
parenta321f2a007b325943750e78635bd93465cfa96bf (diff)
downloadscummvm-rg350-572dfd2a23d3b6789b83bfe102c62650113ad9b7.tar.gz
scummvm-rg350-572dfd2a23d3b6789b83bfe102c62650113ad9b7.tar.bz2
scummvm-rg350-572dfd2a23d3b6789b83bfe102c62650113ad9b7.zip
MOHAWK: Added a FIXME and fixed a logic bug
svn-id: r55366
Diffstat (limited to 'engines/mohawk/cstime_game.cpp')
-rw-r--r--engines/mohawk/cstime_game.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/mohawk/cstime_game.cpp b/engines/mohawk/cstime_game.cpp
index 5b197599e8..867f5c7729 100644
--- a/engines/mohawk/cstime_game.cpp
+++ b/engines/mohawk/cstime_game.cpp
@@ -556,6 +556,7 @@ void CSTimeConversation::mouseMove(Common::Point &pos) {
}
if (_currHover != (uint)~0) {
+ // FIXME: cursorGetState() returns a bool, so this check below can never be true
if (_vm->getInterface()->cursorGetState() != 3) {
_vm->getInterface()->cursorSetShape(1, true);
if (_vm->getInterface()->getInventoryDisplay()->getState() != 4)
@@ -1003,7 +1004,7 @@ void CSTimeScene::mouseMove(Common::Point &pos) {
continue;
}
- if (i != _hoverHotspot);
+ if (i != _hoverHotspot)
_vm->getInterface()->clearTextLine();
cursorOverHotspot(i);
_hoverHotspot = i;