diff options
author | Torbjörn Andersson | 2007-08-31 20:18:07 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2007-08-31 20:18:07 +0000 |
commit | c7e6db919ed93137f24c52a2e1aabad44b6f5fe5 (patch) | |
tree | ef861beaed51d222f32e2c9d2fdc91bb8db10d47 /engines/saga | |
parent | bc44745011435e6558308f6480d2dde8f3ba71c0 (diff) | |
download | scummvm-rg350-c7e6db919ed93137f24c52a2e1aabad44b6f5fe5.tar.gz scummvm-rg350-c7e6db919ed93137f24c52a2e1aabad44b6f5fe5.tar.bz2 scummvm-rg350-c7e6db919ed93137f24c52a2e1aabad44b6f5fe5.zip |
Slight simplification.
svn-id: r28776
Diffstat (limited to 'engines/saga')
-rw-r--r-- | engines/saga/animation.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/saga/animation.cpp b/engines/saga/animation.cpp index d978956abc..40b3710d0d 100644 --- a/engines/saga/animation.cpp +++ b/engines/saga/animation.cpp @@ -869,8 +869,7 @@ int Anim::fillFrameOffsets(AnimationData *anim, bool reallyFill) { case SAGA_FRAME_LONG_UNCOMPRESSED_RUN: // (16) 0001 0000 // Long Uncompressed Run runcount = readS.readSint16BE(); - for (i = 0; i < runcount; i++) - readS.readByte(); + readS.seek(runcount, SEEK_CUR); continue; break; case SAGA_FRAME_NOOP: // Does nothing |