1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-20 05:23:04 +01:00

Fix mingw builds

This commit is contained in:
Michał Janiszewski
2016-10-15 23:02:23 +02:00
parent 17ab7a4879
commit 2e4a5cd441
2 changed files with 5 additions and 1 deletions

View File

@@ -46,6 +46,7 @@ static void graph_draw_line_a_uint8(rct_drawpixelinfo *dpi, uint8 *history, int
{
int i, x, y, lastX, lastY;
lastX = -1;
lastY = -1;
x = baseX;
for (i = count - 1; i >= 0; i--) {
if (history[i] != 0 && history[i] != 255) {
@@ -70,6 +71,7 @@ static void graph_draw_line_b_uint8(rct_drawpixelinfo *dpi, uint8 *history, int
int i, x, y, lastX, lastY;
lastX = -1;
lastY = -1;
x = baseX;
for (i = count - 1; i >= 0; i--) {
if (history[i] != 0 && history[i] != 255) {
@@ -122,6 +124,7 @@ static void graph_draw_line_a_money32(rct_drawpixelinfo *dpi, money32 *history,
{
int i, x, y, lastX, lastY;
lastX = -1;
lastY = -1;
x = baseX;
for (i = count - 1; i >= 0; i--) {
if (history[i] != 0x80000000) {
@@ -146,6 +149,7 @@ static void graph_draw_line_b_money32(rct_drawpixelinfo *dpi, money32 *history,
int i, x, y, lastX, lastY;
lastX = -1;
lastY = -1;
x = baseX;
for (i = count - 1; i >= 0; i--) {
if (history[i] != 0x80000000) {