diff options
author | Darkvater <darkvater@openttd.org> | 2006-11-09 13:03:34 +0000 |
---|---|---|
committer | Darkvater <darkvater@openttd.org> | 2006-11-09 13:03:34 +0000 |
commit | fd2b3d3e14a377983682d5c43eda6b3a621cac34 (patch) | |
tree | ea5982e4a3f26fb265c587505c09bcf2dc0b89f5 /town_cmd.c | |
parent | 061f9ee5d50d1898bfbf2a8fcab7e8c0416ad536 (diff) | |
download | openttd-fd2b3d3e14a377983682d5c43eda6b3a621cac34.tar.xz |
(svn r7120) -Fix (r6631): A town size of 0 in the scenario editor is a random size. So to get a size
you need it between 1 and 3 and therefore there is no one-on-one correspondence between
widget-numbers and town-size. Based on a patch by Maedhros
Diffstat (limited to 'town_cmd.c')
-rw-r--r-- | town_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/town_cmd.c b/town_cmd.c index 40cd13613..a8002d3f7 100644 --- a/town_cmd.c +++ b/town_cmd.c @@ -1003,7 +1003,7 @@ static Town *AllocateTown(void) * This obviously only works in the scenario editor. Function not removed * as it might be possible in the future to fund your own town :) * @param tile coordinates where town is built - * @param p1 size of the town (1 = small, 2 = medium, 3 = large) + * @param p1 size of the town (0 = random, 1 = small, 2 = medium, 3 = large) * @param p2 unused */ int32 CmdBuildTown(TileIndex tile, uint32 flags, uint32 p1, uint32 p2) |