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:
committed by
Michael Steenbeek
parent
37f59e17dc
commit
f9f233dbb1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user