aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/location.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/parallaction/location.cpp')
-rw-r--r--engines/parallaction/location.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/parallaction/location.cpp b/engines/parallaction/location.cpp
index 7f6a8538af..a3bb95a6dd 100644
--- a/engines/parallaction/location.cpp
+++ b/engines/parallaction/location.cpp
@@ -73,12 +73,12 @@ void Parallaction::parseLocation(const char *filename) {
errorFileNotFound(filename);
}
- uint32 count = _archive.getArchivedFileLength();
+ uint32 count = _archive.size();
location_src = (char*)memAlloc(0x4000);
_locationScript = new Script(location_src);
- _archive.readArchivedFile(location_src, count);
+ _archive.read(location_src, count);
_archive.closeArchivedFile();
_archive.close();