aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/fullpipe/behavior.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/fullpipe/behavior.cpp b/engines/fullpipe/behavior.cpp
index 208df90c75..75cb027d7a 100644
--- a/engines/fullpipe/behavior.cpp
+++ b/engines/fullpipe/behavior.cpp
@@ -211,7 +211,7 @@ BehaviorEntryInfo *BehaviorManager::getBehaviorEntryInfoByMessageQueueDataId(Sta
if (_behaviors[i]->_ani == ani) {
for (uint j = 0; j < _behaviors[i]->_bheItems.size(); j++) {
if (_behaviors[i]->_bheItems[j]->_staticsId == id1) {
- for (uint k = 0; k < _behaviors[i]->_bheItems[j]->_itemsCount; k++) {
+ for (int k = 0; k < _behaviors[i]->_bheItems[j]->_itemsCount; k++) {
if (_behaviors[i]->_bheItems[j]->_items[k]->_messageQueue->_dataId == id2)
return _behaviors[i]->_bheItems[j]->_items[k];
}