diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/town_cmd.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/town_cmd.cpp b/src/town_cmd.cpp index 7c731b39e..4fa9a8c85 100644 --- a/src/town_cmd.cpp +++ b/src/town_cmd.cpp @@ -47,6 +47,7 @@ DEFINE_OLD_POOL_GENERIC(Town, Town) Town::Town(TileIndex tile) { + if (tile != 0) _total_towns++; this->xy = tile; } @@ -1354,8 +1355,6 @@ static void DoCreateTown(Town *t, TileIndex tile, uint32 townnameparts, TownSize extern int _nb_orig_names; int x, i; - _total_towns++; - t->xy = tile; t->num_houses = 0; t->time_until_rebuild = 10; |