diff options
author | Bendegúz Nagy | 2016-07-28 18:10:57 +0200 |
---|---|---|
committer | Bendegúz Nagy | 2016-08-26 23:02:22 +0200 |
commit | 356f80af5028645de22230e6b365d955afdd081d (patch) | |
tree | e421b28844e45a029da9561da1de5b7b4114fea8 /engines/dm | |
parent | 040a02003b9dc8a245dae25eb9a63294fd1d2700 (diff) | |
download | scummvm-rg350-356f80af5028645de22230e6b365d955afdd081d.tar.gz scummvm-rg350-356f80af5028645de22230e6b365d955afdd081d.tar.bz2 scummvm-rg350-356f80af5028645de22230e6b365d955afdd081d.zip |
DM: Fix bug where code crashed if trying to display a doorfront in square R3
Diffstat (limited to 'engines/dm')
-rw-r--r-- | engines/dm/TODOs/todo.txt | 2 | ||||
-rw-r--r-- | engines/dm/gfx.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
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]; |