aboutsummaryrefslogtreecommitdiff
path: root/saga/sprite.cpp
diff options
context:
space:
mode:
authorMax Horn2005-04-22 17:40:09 +0000
committerMax Horn2005-04-22 17:40:09 +0000
commit969ef3dac93a21d981e4cc2a8c81c0f03a834417 (patch)
tree9240363f92815c7e92e53b0b42e8d553d4a478c3 /saga/sprite.cpp
parentca33ec4563e05b0940e44de78e0f52bbbf6bfe41 (diff)
downloadscummvm-rg350-969ef3dac93a21d981e4cc2a8c81c0f03a834417.tar.gz
scummvm-rg350-969ef3dac93a21d981e4cc2a8c81c0f03a834417.tar.bz2
scummvm-rg350-969ef3dac93a21d981e4cc2a8c81c0f03a834417.zip
* Added new virtual base class 'Stream', ReadStream and
WriteStream are now subclasses of it. * Added new methods eos(), ioFailed(), clearIOFailed() to all streams. This allows better error checking. * SaveFile classes take advantage of these new standard stream APIS * Removed File::gets() * Added SeekableReadStream::readLine() (replaces File::gets) * Added WriteStream::writeString, for convenience svn-id: r17752
Diffstat (limited to 'saga/sprite.cpp')
-rw-r--r--saga/sprite.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/saga/sprite.cpp b/saga/sprite.cpp
index 36ed2cefc3..038e6ba001 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.eof() && (outPointer < outPointerEnd)) {
+ while (!readS.eos() && (outPointer < outPointerEnd)) {
bg_runcount = readS.readByte();
fg_runcount = readS.readByte();