1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-10 17:42:29 +01:00

Fix ride entrance hut banner issue

This fixes the problem where the ride entrance hut
banner would show a nonsense number after auto-named
rides based on the amount the text had scrolled.
This commit is contained in:
Xkeeper
2019-02-01 12:56:26 -08:00
committed by Aaron van Geffen
parent 100ee139f5
commit 51593c540a

View File

@@ -163,9 +163,8 @@ static void ride_entrance_exit_paint(paint_session* session, uint8_t direction,
if (ride->status == RIDE_STATUS_OPEN && !(ride->lifecycle_flags & RIDE_LIFECYCLE_BROKEN_DOWN))
{
set_format_arg(2, rct_string_id, STR_RIDE_ENTRANCE_NAME);
set_format_arg(4, rct_string_id, ride->name);
set_format_arg(6, uint32_t, ride->name_arguments);
set_format_arg(2, rct_string_id, ride->name);
set_format_arg(4, uint32_t, ride->name_arguments);
}
else
{