Fix #4704, #4708: Crash when painting money effect

This commit is contained in:
zsilencer 2016-10-28 12:34:53 -06:00
parent b32e2eaac9
commit eb187db49b
1 changed files with 2 additions and 0 deletions

View File

@ -21,6 +21,7 @@
#include "../interface/viewport.h"
#include "map_element/map_element.h"
#include "sprite/sprite.h"
#include "supports.h"
const uint32 construction_markers[] = {
COLOUR_DARK_GREEN << 19 | COLOUR_GREY << 24 | IMAGE_TYPE_REMAP, // White
@ -94,6 +95,7 @@ void paint_init(rct_drawpixelinfo * dpi)
_paintQuadrantFrontIndex = 0;
gPaintPSStringHead = NULL;
_paintLastPSString = NULL;
gWoodenSupportsPrependTo = NULL;
}
static void paint_add_ps_to_quadrant(paint_struct * ps, sint32 positionHash)