From 572dfd2a23d3b6789b83bfe102c62650113ad9b7 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Fri, 21 Jan 2011 00:29:55 +0000 Subject: MOHAWK: Added a FIXME and fixed a logic bug svn-id: r55366 --- engines/mohawk/cstime_game.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'engines/mohawk/cstime_game.cpp') 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; -- cgit v1.2.3