From 356f80af5028645de22230e6b365d955afdd081d Mon Sep 17 00:00:00 2001 From: Bendegúz Nagy Date: Thu, 28 Jul 2016 18:10:57 +0200 Subject: DM: Fix bug where code crashed if trying to display a doorfront in square R3 --- engines/dm/TODOs/todo.txt | 2 +- engines/dm/gfx.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/dm') diff --git a/engines/dm/TODOs/todo.txt b/engines/dm/TODOs/todo.txt index cefa603bf2..db6733a365 100644 --- a/engines/dm/TODOs/todo.txt +++ b/engines/dm/TODOs/todo.txt @@ -9,7 +9,7 @@ Bugs: Logic: When object are put on the right side of the current square, they disappear Object display is a bit mixed up with regards to which cell is it drawn in - Method cthulu messes up the callstack sometimes + diff --git a/engines/dm/gfx.cpp b/engines/dm/gfx.cpp index 2d7a99fd4e..0f274bfe54 100644 --- a/engines/dm/gfx.cpp +++ b/engines/dm/gfx.cpp @@ -809,7 +809,7 @@ void DisplayMan::f460_initializeGraphicData() { _g702_bitmapWallSet_Wall_D0R = new byte[32 * 136]; _g703_bitmapWallSet_DoorFrameTop_D2LCR = new byte[96 * 3]; _g704_bitmapWallSet_DoorFrameTop_D1LCR = new byte[128 * 4]; - _g705_bitmapWallSet_DoorFrameLeft_D3L = new byte[32 * 43]; + _g705_bitmapWallSet_DoorFrameLeft_D3L = new byte[32 * 44]; _g706_bitmapWallSet_DoorFrameLeft_D3C = new byte[32 * 44]; _g707_bitmapWallSet_DoorFrameLeft_D2C = new byte[48 * 65]; _g708_bitmapWallSet_DoorFrameLeft_D1C = new byte[32 * 94]; -- cgit v1.2.3