diff options
author | tron <tron@openttd.org> | 2006-01-05 12:40:50 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2006-01-05 12:40:50 +0000 |
commit | e272b03feea5b4c870dd4af5be9071c903c6173d (patch) | |
tree | d69972d96a0b32848f54422f41b00cf39d06c5f7 /town_cmd.c | |
parent | 980e8f525b924491915571c2ed03469bd6751047 (diff) | |
download | openttd-e272b03feea5b4c870dd4af5be9071c903c6173d.tar.xz |
(svn r3365) Staticise 36 functions
Diffstat (limited to 'town_cmd.c')
-rw-r--r-- | town_cmd.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/town_cmd.c b/town_cmd.c index 453ad1340..fe983eea7 100644 --- a/town_cmd.c +++ b/town_cmd.c @@ -415,6 +415,9 @@ static const TileIndexDiffC _roadblock_tileadd[] = { { 0, 1} }; + +static bool GrowTown(Town *t); + static void TownTickHandler(Town *t) { if (t->flags12&1) { @@ -762,7 +765,7 @@ static int GenRandomRoadBits(void) // Grow the town // Returns true if a house was built, or no if the build failed. -bool GrowTown(Town *t) +static bool GrowTown(Town *t) { TileIndex tile; const TileIndexDiffC *ptr; |