HUGO: Correction for Schedule saveActions() mistake.

This commit is contained in:
D G Turner 2011-03-01 06:59:41 +00:00
parent 5ffecd85b3
commit 95b1bfa0be

View File

@ -753,8 +753,7 @@ void Scheduler::saveActions(Common::WriteStream *f) const {
for (int i = 0; i < _actListArrSize; i++) {
// write all the sub elems data
for (nbrSubElem = 1; _actListArr[i][nbrSubElem - 1].a0.actType != ANULL; i++)
;
for (nbrSubElem = 1; _actListArr[i][nbrSubElem - 1].a0.actType != ANULL; nbrSubElem++);
f->writeUint16BE(nbrSubElem);
for (int j = 0; j < nbrSubElem; j++) {