diff options
Diffstat (limited to 'src/town.h')
-rw-r--r-- | src/town.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/town.h b/src/town.h index f7f584b86..0e2b2221b 100644 --- a/src/town.h +++ b/src/town.h @@ -179,12 +179,12 @@ struct Town : PoolItem<Town, TownID, &_Town_pool> { /** * Creates a new town */ - Town(TileIndex tile = 0); + Town(TileIndex tile = INVALID_TILE); /** Destroy the town */ ~Town(); - inline bool IsValid() const { return this->xy != 0; } + inline bool IsValid() const { return this->xy != INVALID_TILE; } void InitializeLayout(); |