mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-20 16:59:06 +00:00
HUGO: Correction for Schedule saveActions() mistake.
This commit is contained in:
parent
5ffecd85b3
commit
95b1bfa0be
@ -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++) {
|
||||
|
Loading…
Reference in New Issue
Block a user