diff options
author | Retro-Junk | 2016-09-04 18:49:58 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2016-09-04 17:53:01 +0200 |
commit | aaf7c2a910c8e3a2a5079e9b859a0a536c0caebb (patch) | |
tree | 7ead11d52503600b5e4ac6ac3eb5380a41aa4bd8 /engines | |
parent | 23e2a61d4ed058313654ac64327684d49d79af54 (diff) | |
download | scummvm-rg350-aaf7c2a910c8e3a2a5079e9b859a0a536c0caebb.tar.gz scummvm-rg350-aaf7c2a910c8e3a2a5079e9b859a0a536c0caebb.tar.bz2 scummvm-rg350-aaf7c2a910c8e3a2a5079e9b859a0a536c0caebb.zip |
FULLPIPE: Fix ladder climbing crash
Diffstat (limited to 'engines')
-rw-r--r-- | engines/fullpipe/anihandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/fullpipe/anihandler.cpp b/engines/fullpipe/anihandler.cpp index 75e31ef57a..9fc586d46b 100644 --- a/engines/fullpipe/anihandler.cpp +++ b/engines/fullpipe/anihandler.cpp @@ -346,7 +346,7 @@ MessageQueue *AniHandler::makeRunQueue(MakeQueueStruct *mkQueue) { ExCommand2 *ex2; for (int i = subIdx; i != st2idx;) { - MGMSubItem *s = _items[itemIdx]->subItems[i + subOffset * _items[itemIdx]->statics.size()]; + MGMSubItem *s = _items[itemIdx]->subItems[i + st2idx * _items[itemIdx]->statics.size()]; ex2 = createCommand(s->movement, mkQueue->ani->_id, x1, y1, &x2, &y2, -1); ex2->_parId = mq->_id; |