summaryrefslogtreecommitdiff
path: root/src/town.h
diff options
context:
space:
mode:
authorJoan Josep <juanjo.ng.83@gmail.com>2019-01-13 00:20:10 +0100
committerCharles Pigott <charlespigott@googlemail.com>2019-01-12 23:20:10 +0000
commit9aecbac2b4a4137abc44ff12a672916ec7482047 (patch)
tree90c5399832b5122a63f6eaef6506d92e1299de2b /src/town.h
parent96854b2b8bea85926113326e1fd37ee357f7e59e (diff)
downloadopenttd-9aecbac2b4a4137abc44ff12a672916ec7482047.tar.xz
Codechange: Define INVALID_TOWN as a TownID (#7044)
Diffstat (limited to 'src/town.h')
-rw-r--r--src/town.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/town.h b/src/town.h
index 19a4118ba..a905ea837 100644
--- a/src/town.h
+++ b/src/town.h
@@ -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)