From 00f85fb58056fef0eb9e6993990393ee1a195b9b Mon Sep 17 00:00:00 2001 From: Alyssa Milburn Date: Sun, 20 Feb 2011 13:43:04 +0100 Subject: MOHAWK: Fix kLBAutoSync notifies. --- engines/mohawk/livingbooks.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- cgit v1.2.3