diff options
Diffstat (limited to 'engines/fullpipe/motion.cpp')
-rw-r--r-- | engines/fullpipe/motion.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/fullpipe/motion.cpp b/engines/fullpipe/motion.cpp index d2eaf0674f..35da154570 100644 --- a/engines/fullpipe/motion.cpp +++ b/engines/fullpipe/motion.cpp @@ -1894,14 +1894,14 @@ MessageQueue *MGM::genMQ(StaticANIObject *ani, int staticsIndex, int staticsId, startidx = _items[idx]->subItems[subidx]->staticsIndex; - int step; + uint step; if (_items[idx]->subItems[subidx]->movement->_currMovement) step = _items[idx]->subItems[subidx]->movement->_currMovement->_dynamicPhases.size(); else step = _items[idx]->subItems[subidx]->movement->_dynamicPhases.size(); - i++; + i += step; } while (startidx != endidx); return mq; @@ -2297,7 +2297,7 @@ int MGM::recalcOffsets(int idx, int st1idx, int st2idx, bool flip, bool flop) { Common::Point point; - for (int i = 0; i < item->movements1.size(); i++) { + for (uint i = 0; i < item->movements1.size(); i++) { Movement *mov = item->movements1[i]; if (mov->_staticsObj1 == item->statics[st1idx]) { |