aboutsummaryrefslogtreecommitdiff
path: root/kyra
diff options
context:
space:
mode:
authorJohannes Schickel2006-01-09 19:45:36 +0000
committerJohannes Schickel2006-01-09 19:45:36 +0000
commitba5c93c551c8e56e9802b97153c066e4d99a50f2 (patch)
tree5975f9b0dae15ab3ec3d87d27cc78cf6c9e87d8a /kyra
parent6aa6767e223031adc06402b36a7e1477bfd2b1d1 (diff)
downloadscummvm-rg350-ba5c93c551c8e56e9802b97153c066e4d99a50f2.tar.gz
scummvm-rg350-ba5c93c551c8e56e9802b97153c066e4d99a50f2.tar.bz2
scummvm-rg350-ba5c93c551c8e56e9802b97153c066e4d99a50f2.zip
Fixes bug # 1399886.
svn-id: r19959
Diffstat (limited to 'kyra')
-rw-r--r--kyra/resource.cpp2
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;