mirror of https://github.com/OpenRCT2/OpenRCT2.git
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:
parent
100ee139f5
commit
51593c540a
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue