Make tile elements dynamic and resizeable

This commit is contained in:
Ted John authored and duncanspumpkin committed 2021-06-05 21:17:03 +01:00
1 parent 051a09d2b7
commit 81d7c3f02b
10 files changed
+235 -245

No files matched your search

@@ -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;