1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-22 14:24:33 +01:00

Fix cost being shown as 0 while paused

This commit is contained in:
jensj12
2018-04-07 14:53:34 +02:00
committed by Aaron van Geffen
parent 56fcd2ec94
commit b6b3486a3d

View File

@@ -5529,7 +5529,7 @@ sint32 ride_get_refund_price(sint32 ride_id)
do {
addedcost = game_do_command(
trackElement.x,
(direction << 8),
GAME_COMMAND_FLAG_ALLOW_DURING_PAUSED | (direction << 8),
trackElement.y,
trackElement.element->properties.track.type | ((trackElement.element->properties.track.sequence & 0xF) << 8),
GAME_COMMAND_REMOVE_TRACK,