Fix gTileElements size

This commit is contained in:
Gymnasiast
2020-03-06 09:38:24 +01:00
parent 5d29dcd5e8
commit d2c03cbbba
2 changed files with 2 additions and 2 deletions

View File

@@ -98,7 +98,7 @@ int16_t gMapSize;
int16_t gMapSizeMaxXY;
int16_t gMapBaseZ;
TileElement gTileElements[MAX_TILE_TILE_ELEMENT_POINTERS * 3];
TileElement gTileElements[MAX_TILE_ELEMENTS];
TileElement* gTileElementTilePointers[MAX_TILE_TILE_ELEMENT_POINTERS];
std::vector<CoordsXY> gMapSelectionTiles;
std::vector<PeepSpawn> gPeepSpawns;

View File

@@ -119,7 +119,7 @@ extern uint8_t gMapSelectArrowDirection;
extern uint8_t gMapGroundFlags;
extern TileElement gTileElements[MAX_TILE_TILE_ELEMENT_POINTERS * 3];
extern TileElement gTileElements[MAX_TILE_ELEMENTS];
extern TileElement* gTileElementTilePointers[MAX_TILE_TILE_ELEMENT_POINTERS];
extern std::vector<CoordsXY> gMapSelectionTiles;