diff options
author | smatz <smatz@openttd.org> | 2009-09-21 20:22:56 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2009-09-21 20:22:56 +0000 |
commit | 93d275f1be2963ff02f934d840966b1d3c01c516 (patch) | |
tree | 9c608914756ec415b69825cfcd6fcb2717e06137 /src/town.h | |
parent | 0a6e3364841c6676a192ea9a349e28bb6d360a28 (diff) | |
download | openttd-93d275f1be2963ff02f934d840966b1d3c01c516.tar.xz |
(svn r17608) -Codechange: use CmdFoundTown when founding 'Random town' too
Diffstat (limited to 'src/town.h')
-rw-r--r-- | src/town.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/town.h b/src/town.h index c524f971d..c2a73f306 100644 --- a/src/town.h +++ b/src/town.h @@ -163,7 +163,6 @@ void UpdateAllTownVirtCoords(); void InitializeTown(); void ShowTownViewWindow(TownID town); void ExpandTown(Town *t); -Town *CreateRandomTown(uint attempts, TownSize size, bool city, TownLayout layout); enum TownRatingCheckType { ROAD_REMOVE = 0, @@ -239,6 +238,7 @@ enum TownActions { DECLARE_ENUM_AS_BIT_SET(TownActions); extern const byte _town_action_costs[TACT_COUNT]; +extern TownID _new_town_id; /** * Calculate a hash value from a tile position |