diff options
Diffstat (limited to 'engines/fullpipe/messages.cpp')
-rw-r--r-- | engines/fullpipe/messages.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/engines/fullpipe/messages.cpp b/engines/fullpipe/messages.cpp index 68ceae353b..a9fc5210a3 100644 --- a/engines/fullpipe/messages.cpp +++ b/engines/fullpipe/messages.cpp @@ -502,6 +502,9 @@ bool MessageQueue::checkGlobalExCommandList1() { if (ex1->_messageKind != 1 && ex1->_messageKind != 20 && ex1->_messageKind != 5 && ex1->_messageKind != 27) continue; + if (ex1->_parentId != ex->_parentId) + continue; + if (ex1->_param != ex->_param && ex1->_param != -1 && ex->_param != -1) continue; @@ -533,6 +536,11 @@ bool MessageQueue::checkGlobalExCommandList2() { continue; } + if (ex1->_parentId != ex->_parentId) { + it++; + continue; + } + if (ex1->_param != ex->_param && ex1->_param != -1 && ex->_param != -1) { it++; continue; |