aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/location.cpp
diff options
context:
space:
mode:
authorNicola Mettifogo2007-02-24 09:12:07 +0000
committerNicola Mettifogo2007-02-24 09:12:07 +0000
commitaa625d0a38455eeb6bde9ea93a90bd47ac353e80 (patch)
tree168dcdabd1728aef89f3438fe80bbba8c76870e2 /engines/parallaction/location.cpp
parentc8631a92e992d261891b30bfed77e45d449ea009 (diff)
downloadscummvm-rg350-aa625d0a38455eeb6bde9ea93a90bd47ac353e80.tar.gz
scummvm-rg350-aa625d0a38455eeb6bde9ea93a90bd47ac353e80.tar.bz2
scummvm-rg350-aa625d0a38455eeb6bde9ea93a90bd47ac353e80.zip
ArchiveFile's details are now known only to archive code
svn-id: r25814
Diffstat (limited to 'engines/parallaction/location.cpp')
-rw-r--r--engines/parallaction/location.cpp2
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);