1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-22 14:24:33 +01:00

Make tile elements dynamic and resizable

This commit is contained in:
Ted John
2021-04-09 02:09:08 +01:00
parent a38154a0f3
commit 8180fb9ae1
13 changed files with 252 additions and 258 deletions

View File

@@ -1238,8 +1238,8 @@ static int32_t cc_remove_park_fences(InteractiveConsole& console, [[maybe_unused
static int32_t cc_show_limits(InteractiveConsole& console, [[maybe_unused]] const arguments_t& argv)
{
map_reorganise_elements();
int32_t tileElementCount = gNextFreeTileElement - gTileElements - 1;
const auto& tileElements = GetTileElements();
int32_t tileElementCount = tileElements.size();
int32_t rideCount = ride_get_count();
int32_t spriteCount = 0;