From 4acb73abfe72fbda5684e72af56fbf12cb23cd0c Mon Sep 17 00:00:00 2001 From: Duncan Frost Date: Sun, 5 Jul 2015 15:22:56 +0100 Subject: [PATCH] Fix incorrect refund price for tracks. Fixes #1548. --- src/ride/track.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ride/track.c b/src/ride/track.c index d3f26cb792..3dd344b74b 100644 --- a/src/ride/track.c +++ b/src/ride/track.c @@ -4164,10 +4164,10 @@ money32 track_remove(uint8 type, uint8 sequence, sint16 originX, sint16 originY, money32 price = RCT2_ADDRESS(0x0097DD78, money16)[ride->type * 2];; if (ride_type_has_flag(ride->type, RIDE_TYPE_FLAG_FLAT_RIDE)) { - price *= RCT2_ADDRESS(0x0099DA34, money32)[type]; + price *= RCT2_ADDRESS(0x0099DE34, money32)[type]; } else { - price *= RCT2_ADDRESS(0x0099DE34, money32)[type]; + price *= RCT2_ADDRESS(0x0099DA34, money32)[type]; } price >>= 16; price = (price + cost) / 2;