diff --git a/library/include/dfhack/DFTileTypes.h b/library/include/dfhack/DFTileTypes.h index df0e3c873..e3b660711 100644 --- a/library/include/dfhack/DFTileTypes.h +++ b/library/include/dfhack/DFTileTypes.h @@ -95,8 +95,10 @@ namespace DFHack TileMaterial m; TileVariant v; }; + + #define TILE_TYPE_ARRAY_LENGTH 520 - const TileRow tileTypeTable[520] = + const TileRow tileTypeTable[TILE_TYPE_ARRAY_LENGTH] = { // 0 {"void",EMPTY, AIR, VAR_1},