From 29fb31c69c018a25dbcde7fad095421c5ca76dc9 Mon Sep 17 00:00:00 2001 From: Broxzier Date: Sat, 1 Jul 2017 11:45:43 +0200 Subject: [PATCH] Remove 'static const' that slipped in --- src/openrct2/interface/viewport.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/openrct2/interface/viewport.c b/src/openrct2/interface/viewport.c index ce7da6203f..b70edd9100 100644 --- a/src/openrct2/interface/viewport.c +++ b/src/openrct2/interface/viewport.c @@ -237,8 +237,8 @@ void viewport_adjust_for_map_height(sint16* x, sint16* y, sint16 *z) // of the map. This can happen when the height is larger than the map size. sint16 max = gMapSizeMinus2; if (pos.x > max && pos.y > max) { - static const sint32 x_corr[] = { -1, 1, 1, -1 }; - static const sint32 y_corr[] = { -1, -1, 1, 1 }; + sint32 x_corr[] = { -1, 1, 1, -1 }; + sint32 y_corr[] = { -1, -1, 1, 1 }; pos.x += x_corr[rotation] * height; pos.y += y_corr[rotation] * height; }