diff options
author | Florian Kagerer | 2008-05-31 21:48:09 +0000 |
---|---|---|
committer | Florian Kagerer | 2008-05-31 21:48:09 +0000 |
commit | 7db0b2b5a1d36958f40bb968aff89722b548a466 (patch) | |
tree | bb0a9c529c1f4e6c2bae6ece32828148a3c06cf2 /engines/kyra | |
parent | a9c9a5404d2aa111af0e8e03717d4ae14a3dd53a (diff) | |
download | scummvm-rg350-7db0b2b5a1d36958f40bb968aff89722b548a466.tar.gz scummvm-rg350-7db0b2b5a1d36958f40bb968aff89722b548a466.tar.bz2 scummvm-rg350-7db0b2b5a1d36958f40bb968aff89722b548a466.zip |
cleanup
svn-id: r32441
Diffstat (limited to 'engines/kyra')
-rw-r--r-- | engines/kyra/resource.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/kyra/resource.cpp b/engines/kyra/resource.cpp index 04bf888d3c..cade116df5 100644 --- a/engines/kyra/resource.cpp +++ b/engines/kyra/resource.cpp @@ -1302,6 +1302,7 @@ bool CompLoaderInsHof::loadFile(CompFileMap &loadTo) const { } } + FileExpander exp; CompFileEntry newEntry; uint32 insize = 0; uint32 outsize = 0; @@ -1343,7 +1344,7 @@ bool CompLoaderInsHof::loadFile(CompFileMap &loadTo) const { tmpFile.seek(1); tmpFile.read(inbuffer + inPart1, inPart2); inPart2 = 0; - FileExpander().process(outbuffer, inbuffer, outsize, insize); + exp.process(outbuffer, inbuffer, outsize, insize); delete[] inbuffer; inbuffer = 0; newEntry.data = outbuffer; @@ -1415,7 +1416,7 @@ bool CompLoaderInsHof::loadFile(CompFileMap &loadTo) const { } else { tmpFile.read(inbuffer, insize); inPart2 = 0; - FileExpander().process(outbuffer, inbuffer, outsize, insize); + exp.process(outbuffer, inbuffer, outsize, insize); delete[] inbuffer; inbuffer = 0; newEntry.data = outbuffer; |