LAB: Use the correct bitmap buffer in the Anim class
This commit is contained in:
parent
0e886461d0
commit
b6397c0af7
3 changed files with 2 additions and 3 deletions
|
@ -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;
|
||||
|
|
|
@ -84,7 +84,6 @@ private:
|
|||
uint32 _diffWidth;
|
||||
uint32 _diffHeight;
|
||||
uint16 _dataBytesPerRow;
|
||||
BitMap bit2;
|
||||
BitMap *DrawBitMap;
|
||||
|
||||
void runLengthDecode(byte *dest, byte *source);
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue