diff options
author | Eugene Sandulenko | 2005-06-02 22:34:55 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2005-06-02 22:34:55 +0000 |
commit | bf928a55209e385016cb9f46142ec399a7491945 (patch) | |
tree | 3ce7c7d60691446584361d4083a57a2f2f65cf76 /saga | |
parent | 8a835899fb38ae5c79610d972ad858c90902a802 (diff) | |
download | scummvm-rg350-bf928a55209e385016cb9f46142ec399a7491945.tar.gz scummvm-rg350-bf928a55209e385016cb9f46142ec399a7491945.tar.bz2 scummvm-rg350-bf928a55209e385016cb9f46142ec399a7491945.zip |
oops
svn-id: r18314
Diffstat (limited to 'saga')
-rw-r--r-- | saga/sprite.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/saga/sprite.cpp b/saga/sprite.cpp index 255da47cca..ac07ec3cf4 100644 --- a/saga/sprite.cpp +++ b/saga/sprite.cpp @@ -402,7 +402,7 @@ void Sprite::decodeRLEBuffer(const byte *inputBuffer, size_t inLength, size_t ou MemoryReadStream readS(inputBuffer, inLength); - while (!readS.eos() && (outPointer < outPointerEnd - 1)) { + while (!readS.eos() && (outPointer < outPointerEnd)) { bg_runcount = readS.readByte(); fg_runcount = readS.readByte(); |