diff options
author | Johannes Schickel | 2006-01-09 19:45:36 +0000 |
---|---|---|
committer | Johannes Schickel | 2006-01-09 19:45:36 +0000 |
commit | ba5c93c551c8e56e9802b97153c066e4d99a50f2 (patch) | |
tree | 5975f9b0dae15ab3ec3d87d27cc78cf6c9e87d8a /kyra/resource.cpp | |
parent | 6aa6767e223031adc06402b36a7e1477bfd2b1d1 (diff) | |
download | scummvm-rg350-ba5c93c551c8e56e9802b97153c066e4d99a50f2.tar.gz scummvm-rg350-ba5c93c551c8e56e9802b97153c066e4d99a50f2.tar.bz2 scummvm-rg350-ba5c93c551c8e56e9802b97153c066e4d99a50f2.zip |
Fixes bug # 1399886.
svn-id: r19959
Diffstat (limited to 'kyra/resource.cpp')
-rw-r--r-- | kyra/resource.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kyra/resource.cpp b/kyra/resource.cpp index 26a06dc174..07a929e89c 100644 --- a/kyra/resource.cpp +++ b/kyra/resource.cpp @@ -180,6 +180,8 @@ uint8* Resource::fileData(const char* file, uint32* size) { // Pak file manager #define PAKFile_Iterate Common::List<PakChunk*>::iterator start=_files.begin();start != _files.end(); ++start PAKFile::PAKFile(const Common::String& file) { + _filename = 0; + Common::File pakfile; uint8 *buffer = 0; _open = false; |