1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-16 03:23:15 +01:00

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

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)