1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-26 08:14:38 +01:00

Replace C-style function for HasQueueBanner()

This commit is contained in:
Gymnasiast
2018-09-16 16:32:06 +02:00
committed by Michael Steenbeek
parent 37f59e17dc
commit f9f233dbb1
5 changed files with 12 additions and 12 deletions

View File

@@ -145,7 +145,7 @@ static bool map_animation_invalidate_queue_banner(int32_t x, int32_t y, int32_t
continue;
if (!(tileElement->flags & 1))
continue;
if (!footpath_element_has_queue_banner(tileElement))
if (!tileElement->AsPath()->HasQueueBanner())
continue;
int32_t direction = (footpath_element_get_direction(tileElement) + get_current_rotation()) & 3;