aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorAlyssa Milburn2010-12-06 13:50:11 +0000
committerAlyssa Milburn2010-12-06 13:50:11 +0000
commit99bc2c7a28187a88aa21e80d65083c73e7bfedcd (patch)
tree01fa340488dca1012083a9697f822e2c31569ee3 /engines
parent402831b8cae807e46a04db0d3548b0a340e60d50 (diff)
downloadscummvm-rg350-99bc2c7a28187a88aa21e80d65083c73e7bfedcd.tar.gz
scummvm-rg350-99bc2c7a28187a88aa21e80d65083c73e7bfedcd.tar.bz2
scummvm-rg350-99bc2c7a28187a88aa21e80d65083c73e7bfedcd.zip
MOHAWK: fix LBLiveTextItem::handleMouseDown
svn-id: r54798
Diffstat (limited to 'engines')
-rw-r--r--engines/mohawk/livingbooks.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mohawk/livingbooks.cpp b/engines/mohawk/livingbooks.cpp
index 346a217453..317b8b828b 100644
--- a/engines/mohawk/livingbooks.cpp
+++ b/engines/mohawk/livingbooks.cpp
@@ -2802,7 +2802,7 @@ void LBLiveTextItem::drawWord(uint word, uint yPos) {
}
void LBLiveTextItem::handleMouseDown(Common::Point pos) {
- if (_neverEnabled || !_enabled || _globalEnabled || _currentPhrase != 0xFFFF)
+ if (_neverEnabled || !_enabled || !_globalEnabled || _currentPhrase != 0xFFFF)
return LBItem::handleMouseDown(pos);
pos.x -= _rect.left;