diff options
Diffstat (limited to 'engines/parallaction/animation.cpp')
-rw-r--r-- | engines/parallaction/animation.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/parallaction/animation.cpp b/engines/parallaction/animation.cpp index 59428e9026..2bfbba16e2 100644 --- a/engines/parallaction/animation.cpp +++ b/engines/parallaction/animation.cpp @@ -256,16 +256,16 @@ void Parallaction::loadProgram(Animation *a, char *filename) { sprintf(vC8, "%s.script", filename); - if (!openArchivedFile(vC8)) + if (!_archive.openArchivedFile(vC8)) errorFileNotFound(vC8); - uint32 size = getArchivedFileLength(vC8); + uint32 size = _archive.getArchivedFileLength(vC8); char* src = (char*)memAlloc(size+1); - readArchivedFile(src, size); + _archive.readArchivedFile(src, size); src[size] = '\0'; - closeArchivedFile(); + _archive.closeArchivedFile(); _numLocals = 0; |