diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/kyra/resource.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/kyra/resource.cpp b/engines/kyra/resource.cpp index ce8a67845d..8b07b50a6c 100644 --- a/engines/kyra/resource.cpp +++ b/engines/kyra/resource.cpp @@ -682,13 +682,13 @@ bool ResLoaderTlk::loadFile(const Common::String &filename, Common::SeekableRead entry.preload = false; entry.prot = false; - uint32 filename = stream.readUint32LE(); - uint32 offset = stream.readUint32LE(); + uint32 resFilename = stream.readUint32LE(); + uint32 resOffset = stream.readUint32LE(); - entry.offset = offset+4; + entry.offset = resOffset+4; char realFilename[20]; - snprintf(realFilename, 20, "%.08u.AUD", filename); + snprintf(realFilename, 20, "%.08u.AUD", resFilename); uint32 curOffset = stream.pos(); stream.seek(entry.offset+2, SEEK_SET); |