1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-19 04:53:12 +01:00

Make tile elements dynamic and resizeable

This commit is contained in:
Ted John
2021-04-09 02:09:08 +01:00
committed by duncanspumpkin
parent 051a09d2b7
commit 81d7c3f02b
10 changed files with 235 additions and 245 deletions

View File

@@ -1247,8 +1247,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;