forked from rosebudai/OpenRCT2-Web
Remove some C-style tile element functions
This commit is contained in:
1 parent
2d8b93e514
commit
1d3baef9b7
31 files changed
+138
-168
No files matched your search
@@ -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