aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorrichiesams2013-08-20 11:25:58 -0500
committerrichiesams2013-08-20 11:41:46 -0500
commit94a55024ac9384747130aa1cd94d4cb36f35e922 (patch)
treedaa7a92adbe293e79c723b4dfb40bf74f2f182e3 /engines
parent7dcfa9ef4c849251e32b60f5d3cd609fb0fd2921 (diff)
downloadscummvm-rg350-94a55024ac9384747130aa1cd94d4cb36f35e922.tar.gz
scummvm-rg350-94a55024ac9384747130aa1cd94d4cb36f35e922.tar.bz2
scummvm-rg350-94a55024ac9384747130aa1cd94d4cb36f35e922.zip
ZVISION: Fix seek() whence argument
Diffstat (limited to 'engines')
-rw-r--r--engines/zvision/rlf_animation.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/zvision/rlf_animation.cpp b/engines/zvision/rlf_animation.cpp
index abc31c1d1d..8a087c1ccc 100644
--- a/engines/zvision/rlf_animation.cpp
+++ b/engines/zvision/rlf_animation.cpp
@@ -54,7 +54,7 @@ RlfAnimation::RlfAnimation(const Common::String &fileName)
// Since we don't need any of the data, we can just seek right to the
// entries we need rather than read in all the individual entries.
- file.seek(136, file.pos());
+ file.seek(136, SEEK_CUR);
//// Read CIN header
//file.readUint32BE(); // Magic number FNIC
@@ -62,13 +62,13 @@ RlfAnimation::RlfAnimation(const Common::String &fileName)
//file.readUint32LE(); // Unknown3
//file.readUint32LE(); // Unknown4
//file.readUint32LE(); // Unknown5
- //file.seek(0x18, file.pos()); // VRLE
+ //file.seek(0x18, SEEK_CUR); // VRLE
//file.readUint32LE(); // LRVD
//file.readUint32LE(); // Unknown6
- //file.seek(0x18, file.pos()); // HRLE
+ //file.seek(0x18, SEEK_CUR); // HRLE
//file.readUint32LE(); // ELHD
//file.readUint32LE(); // Unknown7
- //file.seek(0x18, file.pos()); // HKEY
+ //file.seek(0x18, SEEK_CUR); // HKEY
//file.readUint32LE(); // ELRH
//// Read MIN info header