fix #3813: Scrolling texts going rogue

This commit is contained in:
Ted John 2016-06-03 23:27:17 +01:00
parent a9bf0cdd4e
commit e4c94d7966
1 changed files with 3 additions and 0 deletions

View File

@ -20,6 +20,7 @@
#include "../localisation/localisation.h"
#include "drawing.h"
#pragma pack(push, 1)
/* size: 0xA12 */
typedef struct rct_draw_scroll_text {
rct_string_id string_id; // 0x00
@ -30,6 +31,8 @@ typedef struct rct_draw_scroll_text {
uint32 id; // 0x0E
uint8 bitmap[64 * 8 * 5]; // 0x12
} rct_draw_scroll_text;
assert_struct_size(rct_draw_scroll_text, 0xA12);
#pragma pack(pop)
rct_draw_scroll_text *gDrawScrollTextList = RCT2_ADDRESS(RCT2_ADDRESS_DRAW_SCROLL_LIST, rct_draw_scroll_text);
uint8 *gCharacterBitmaps = RCT2_ADDRESS(RCT2_ADDRESS_CHARACTER_BITMAP, uint8);