From 82217d0053a2d130309f8d9efe978989b5379158 Mon Sep 17 00:00:00 2001 From: Duncan Frost Date: Mon, 20 Jul 2015 17:21:32 +0100 Subject: [PATCH] Fix support cost multiplier underground. Fixes #1651 --- src/ride/track.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ride/track.c b/src/ride/track.c index 7b00435503..155cca3eb2 100644 --- a/src/ride/track.c +++ b/src/ride/track.c @@ -4133,7 +4133,7 @@ money32 track_remove(uint8 type, uint8 sequence, sint16 originX, sint16 originY, return MONEY32_UNDEFINED; } - uint8 support_height = mapElement->base_height - surfaceElement->base_height; + sint8 support_height = mapElement->base_height - surfaceElement->base_height; if (support_height < 0){ support_height = 10; }