diff options
author | Paul Gilbert | 2010-06-11 11:03:51 +0000 |
---|---|---|
committer | Paul Gilbert | 2010-06-11 11:03:51 +0000 |
commit | ef34896dce9188591e8ddd6e8eed543febd70b87 (patch) | |
tree | d7bef4830e4ec397795a69ed63461c2cfabc4a59 /engines/m4/animation.cpp | |
parent | 580c9032f02123ba1f46a49c098dbf34f0b2f3c1 (diff) | |
download | scummvm-rg350-ef34896dce9188591e8ddd6e8eed543febd70b87.tar.gz scummvm-rg350-ef34896dce9188591e8ddd6e8eed543febd70b87.tar.bz2 scummvm-rg350-ef34896dce9188591e8ddd6e8eed543febd70b87.zip |
Clarified various incorrectly named parameters, and fixed code for loading the correct art file backgrounds when running animation sequences
svn-id: r49595
Diffstat (limited to 'engines/m4/animation.cpp')
-rw-r--r-- | engines/m4/animation.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/m4/animation.cpp b/engines/m4/animation.cpp index 1142ba48d1..dacfd8c581 100644 --- a/engines/m4/animation.cpp +++ b/engines/m4/animation.cpp @@ -63,7 +63,7 @@ MadsAnimation::~MadsAnimation() { /** * Initialises and loads the data of an animation */ -void MadsAnimation::initialise(const Common::String &filename, uint16 flags, M4Surface *interfaceSurface, M4Surface *sceneSurface) { +void MadsAnimation::initialise(const Common::String &filename, uint16 flags, M4Surface *surface, M4Surface *depthSurface) { MadsPack anim(filename.c_str(), _vm); bool madsRes = filename[0] == '*'; char buffer[20]; @@ -114,7 +114,7 @@ void MadsAnimation::initialise(const Common::String &filename, uint16 flags, M4S if (_animMode == 4) flags |= 0x4000; if (flags & 0x100) - loadInterface(interfaceSurface, sceneSurface); + loadInterface(surface, depthSurface); // Initialise the reference list for (int i = 0; i < spriteListCount; ++i) |