diff options
Diffstat (limited to 'engines/parallaction/location.cpp')
-rw-r--r-- | engines/parallaction/location.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/parallaction/location.cpp b/engines/parallaction/location.cpp index 917d049fcc..79bb8e5b3d 100644 --- a/engines/parallaction/location.cpp +++ b/engines/parallaction/location.cpp @@ -73,7 +73,7 @@ void Parallaction::parseLocation(const char *filename) { if (!file) errorFileNotFound(filename); } - uint32 count = file->_endOffset - file->_offset; + uint32 count = getArchivedFileLength(archivefile); location_src = (char*)memAlloc(0x4000); _locationScript = new Script(location_src); |