aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk
diff options
context:
space:
mode:
authorAlyssa Milburn2011-02-20 13:43:04 +0100
committerAlyssa Milburn2011-02-20 13:45:34 +0100
commit00f85fb58056fef0eb9e6993990393ee1a195b9b (patch)
tree7038ec3dd35edbafdbe0782702279c2179e82a84 /engines/mohawk
parent9fa6b48e1ae574c0af5be3ed2f9815c3d98be655 (diff)
downloadscummvm-rg350-00f85fb58056fef0eb9e6993990393ee1a195b9b.tar.gz
scummvm-rg350-00f85fb58056fef0eb9e6993990393ee1a195b9b.tar.bz2
scummvm-rg350-00f85fb58056fef0eb9e6993990393ee1a195b9b.zip
MOHAWK: Fix kLBAutoSync notifies.
Diffstat (limited to 'engines/mohawk')
-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 4fa69e83a4..c2f42b659d 100644
--- a/engines/mohawk/livingbooks.cpp
+++ b/engines/mohawk/livingbooks.cpp
@@ -2272,7 +2272,7 @@ void LBItem::stop() {
void LBItem::notify(uint16 data, uint16 from) {
if (_timingMode == kLBAutoSync) {
// TODO: is this correct?
- if (_periodMin == from && _periodMax == data) {
+ if (_periodMin == data && _periodMax == from) {
debug(2, "Handling notify 0x%04x (from %d)", data, from);
setNextTime(0, 0);
}