[Scummvm-git-logs] scummvm master -> aaf7c2a910c8e3a2a5079e9b859a0a536c0caebb
sev-
sev at scummvm.org
Sun Sep 4 17:53:18 CEST 2016
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
aaf7c2a910 FULLPIPE: Fix ladder climbing crash
Commit: aaf7c2a910c8e3a2a5079e9b859a0a536c0caebb
https://github.com/scummvm/scummvm/commit/aaf7c2a910c8e3a2a5079e9b859a0a536c0caebb
Author: Retro-Junk (bambarbee at yandex.ru)
Date: 2016-09-04T17:53:01+02:00
Commit Message:
FULLPIPE: Fix ladder climbing crash
Changed paths:
engines/fullpipe/anihandler.cpp
diff --git a/engines/fullpipe/anihandler.cpp b/engines/fullpipe/anihandler.cpp
index 75e31ef..9fc586d 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;
More information about the Scummvm-git-logs
mailing list