diff options
Diffstat (limited to 'engines/m4')
-rw-r--r-- | engines/m4/animation.cpp | 2 | ||||
-rw-r--r-- | engines/m4/animation.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/engines/m4/animation.cpp b/engines/m4/animation.cpp index 4b6be82fad..9c31cd35d7 100644 --- a/engines/m4/animation.cpp +++ b/engines/m4/animation.cpp @@ -106,7 +106,7 @@ void MadsAnimation::load(const Common::String &filename) { // Chunk 2 // Following is a list of any messages for the animation - Common::SeekableReadStream *animStream = anim.getItemStream(streamIndex++); + animStream = anim.getItemStream(streamIndex++); for (int i = 0; i < messagesCount; ++i) { AnimMessage rec; diff --git a/engines/m4/animation.h b/engines/m4/animation.h index b7e88f0871..41ad40ef9a 100644 --- a/engines/m4/animation.h +++ b/engines/m4/animation.h @@ -103,10 +103,10 @@ private: uint16 _actionNouns[3]; void load1(int frameNumber); - bool MadsAnimation::proc1(SpriteAsset &spriteSet, const Common::Point &pt, int frameNumber); + bool proc1(SpriteAsset &spriteSet, const Common::Point &pt, int frameNumber); public: MadsAnimation(MadsM4Engine *vm, MadsView *view); - ~MadsAnimation(); + virtual ~MadsAnimation(); virtual void load(const Common::String &filename); virtual void start(); |