diff options
-rw-r--r-- | engines/lab/anim.cpp | 2 | ||||
-rw-r--r-- | engines/lab/anim.h | 1 | ||||
-rw-r--r-- | engines/lab/lab.cpp | 2 |
3 files changed, 2 insertions, 3 deletions
diff --git a/engines/lab/anim.cpp b/engines/lab/anim.cpp index c5493e03e6..b28222c4b4 100644 --- a/engines/lab/anim.cpp +++ b/engines/lab/anim.cpp @@ -70,7 +70,7 @@ Anim::Anim(LabEngine *vm) : _vm(vm) { _diffWidth = 0; _diffHeight = 0; _dataBytesPerRow = 0; - DrawBitMap = &bit2; + DrawBitMap = &_vm->_graphics->bit1; for (int i = 0; i < 3 * 256; i++) _diffPalette[i] = 0; diff --git a/engines/lab/anim.h b/engines/lab/anim.h index a0438d862d..28927ba82d 100644 --- a/engines/lab/anim.h +++ b/engines/lab/anim.h @@ -84,7 +84,6 @@ private: uint32 _diffWidth; uint32 _diffHeight; uint16 _dataBytesPerRow; - BitMap bit2; BitMap *DrawBitMap; void runLengthDecode(byte *dest, byte *source); diff --git a/engines/lab/lab.cpp b/engines/lab/lab.cpp index 3def00339c..ec81fdf427 100644 --- a/engines/lab/lab.cpp +++ b/engines/lab/lab.cpp @@ -144,8 +144,8 @@ Common::Error LabEngine::run() { _event = new EventManager(this); _resource = new Resource(this); _music = new Music(this); - _anim = new Anim(this); _graphics = new DisplayMan(this); + _anim = new Anim(this); if (getPlatform() == Common::kPlatformWindows) { // Check if this is the Wyrmkeep trial |