Codechange: Define INVALID_TOWN as a TownID (#7044)

This commit is contained in:
Joan Josep
2019-01-13 00:20:10 +01:00
committed by Charles Pigott
parent 96854b2b8b
commit 9aecbac2b4
3 changed files with 5 additions and 5 deletions

View File

@@ -31,7 +31,7 @@ typedef TileMatrix<CargoTypes, 4> AcceptanceMatrix;
static const uint CUSTOM_TOWN_NUMBER_DIFFICULTY = 4; ///< value for custom town number in difficulty settings
static const uint CUSTOM_TOWN_MAX_NUMBER = 5000; ///< this is the maximum number of towns a user can specify in customisation
static const uint INVALID_TOWN = 0xFFFF;
static const TownID INVALID_TOWN = 0xFFFF;
static const uint TOWN_GROWTH_WINTER = 0xFFFFFFFE; ///< The town only needs this cargo in the winter (any amount)
static const uint TOWN_GROWTH_DESERT = 0xFFFFFFFF; ///< The town needs the cargo for growth when on desert (any amount)