aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/cstime_ui.cpp
diff options
context:
space:
mode:
authorAlyssa Milburn2011-01-21 10:59:49 +0000
committerAlyssa Milburn2011-01-21 10:59:49 +0000
commit94ac240761e19c3fa03e57d09cf4755cc6a30210 (patch)
treed6b9c5df5a4998da1c9cdd394d8101dadc7978ab /engines/mohawk/cstime_ui.cpp
parent14d74d206381cb23e717557ea71910efa74b1e11 (diff)
downloadscummvm-rg350-94ac240761e19c3fa03e57d09cf4755cc6a30210.tar.gz
scummvm-rg350-94ac240761e19c3fa03e57d09cf4755cc6a30210.tar.bz2
scummvm-rg350-94ac240761e19c3fa03e57d09cf4755cc6a30210.zip
MOHAWK: Fix two CSTime cursor shape/state checks.
(Thanks to [md5]/thebluegr.) svn-id: r55371
Diffstat (limited to 'engines/mohawk/cstime_ui.cpp')
-rw-r--r--engines/mohawk/cstime_ui.cpp2
1 files changed, 1 insertions, 1 deletions
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;