From 272ccc36f101c452a54483722fabcc439ee04bca Mon Sep 17 00:00:00 2001 From: Ted John Date: Sun, 4 Sep 2016 00:30:17 +0100 Subject: [PATCH] x64: Fix last warning and reinstate warnings as errors (msvc) --- openrct2.vcxproj | 4 ++-- src/paint/paint.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/openrct2.vcxproj b/openrct2.vcxproj index 91d70e7c95..d5958aab5d 100644 --- a/openrct2.vcxproj +++ b/openrct2.vcxproj @@ -656,7 +656,7 @@ $(IntDir)\%(RelativeDir) 4013 false - false + true true @@ -685,7 +685,7 @@ $(IntDir)\%(RelativeDir) true Speed - false + true true diff --git a/src/paint/paint.c b/src/paint/paint.c index 73dcc3061a..95e5eb736a 100644 --- a/src/paint/paint.c +++ b/src/paint/paint.c @@ -623,7 +623,7 @@ void sub_685EBC(money32 amount, rct_string_id string_id, sint16 y, sint16 z, sin ps->next = 0; ps->args[0] = amount; ps->args[1] = y; - ps->args[2] = (int) y_offsets; + ps->args[2] = 0; ps->args[3] = 0; ps->y_offsets = (uint8 *) y_offsets;