mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-19 21:13:05 +01:00
Remove some C-style tile element functions
This commit is contained in:
committed by
Gymnasiast
parent
2d8b93e514
commit
1d3baef9b7
@@ -195,7 +195,7 @@ static bool map_animation_invalidate_small_scenery(int32_t x, int32_t y, int32_t
|
||||
// Peep, looking at scenery
|
||||
if (!(gCurrentTicks & 0x3FF) && game_is_not_paused())
|
||||
{
|
||||
int32_t direction = tile_element_get_direction(tileElement);
|
||||
int32_t direction = tileElement->GetDirection();
|
||||
int32_t x2 = x - CoordsDirectionDelta[direction].x;
|
||||
int32_t y2 = y - CoordsDirectionDelta[direction].y;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user