mirror of https://github.com/OpenRCT2/OpenRCT2.git
Merge pull request #4718 from zsilencer/bugfixes
Fix #4704, #4708: Crash when painting money effect
This commit is contained in:
commit
1960ef1b6a
|
@ -21,6 +21,7 @@
|
||||||
#include "../interface/viewport.h"
|
#include "../interface/viewport.h"
|
||||||
#include "map_element/map_element.h"
|
#include "map_element/map_element.h"
|
||||||
#include "sprite/sprite.h"
|
#include "sprite/sprite.h"
|
||||||
|
#include "supports.h"
|
||||||
|
|
||||||
const uint32 construction_markers[] = {
|
const uint32 construction_markers[] = {
|
||||||
COLOUR_DARK_GREEN << 19 | COLOUR_GREY << 24 | IMAGE_TYPE_REMAP, // White
|
COLOUR_DARK_GREEN << 19 | COLOUR_GREY << 24 | IMAGE_TYPE_REMAP, // White
|
||||||
|
@ -94,6 +95,7 @@ void paint_init(rct_drawpixelinfo * dpi)
|
||||||
_paintQuadrantFrontIndex = 0;
|
_paintQuadrantFrontIndex = 0;
|
||||||
gPaintPSStringHead = NULL;
|
gPaintPSStringHead = NULL;
|
||||||
_paintLastPSString = NULL;
|
_paintLastPSString = NULL;
|
||||||
|
gWoodenSupportsPrependTo = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void paint_add_ps_to_quadrant(paint_struct * ps, sint32 positionHash)
|
static void paint_add_ps_to_quadrant(paint_struct * ps, sint32 positionHash)
|
||||||
|
|
Loading…
Reference in New Issue