aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/mohawk/cstime_game.cpp3
-rw-r--r--engines/mohawk/cstime_ui.cpp2
2 files changed, 2 insertions, 3 deletions
diff --git a/engines/mohawk/cstime_game.cpp b/engines/mohawk/cstime_game.cpp
index 867f5c7729..57dffabd80 100644
--- a/engines/mohawk/cstime_game.cpp
+++ b/engines/mohawk/cstime_game.cpp
@@ -556,8 +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) {
+ if (_vm->getInterface()->cursorGetShape() != 3) {
_vm->getInterface()->cursorSetShape(1, true);
if (_vm->getInterface()->getInventoryDisplay()->getState() != 4)
unhighlightLine(_currHover);
diff --git a/engines/mohawk/cstime_ui.cpp b/engines/mohawk/cstime_ui.cpp
index 08f70ea291..19c3ccc3da 100644
--- a/engines/mohawk/cstime_ui.cpp
+++ b/engines/mohawk/cstime_ui.cpp
@@ -471,7 +471,7 @@ void CSTimeInterface::mouseUp(Common::Point pos) {
}
void CSTimeInterface::cursorOverHotspot() {
- if (cursorGetState() != 1)
+ if (!cursorGetState())
return;
if (_state == kCSTimeInterfaceStateDragStart || _state == kCSTimeInterfaceStateDragging)
return;