summaryrefslogtreecommitdiff
path: root/town.h
diff options
context:
space:
mode:
authorcelestar <celestar@openttd.org>2005-02-13 09:42:49 +0000
committercelestar <celestar@openttd.org>2005-02-13 09:42:49 +0000
commit77d26759e3e4f0ada2298d8e89e64380592537d1 (patch)
tree822211e1a18fb70fe4220e3dc0f3c2f08de03141 /town.h
parent58c46bed4072a563f037278d5f023c0bbf3c83a7 (diff)
downloadopenttd-77d26759e3e4f0ada2298d8e89e64380592537d1.tar.xz
(svn r1866) -Fix: Intercepted generated maps with 0 towns on it. Currently just an
error() is called, some more graceful handling should be implemented later.
Diffstat (limited to 'town.h')
-rw-r--r--town.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/town.h b/town.h
index cf7eee16e..ddd30b960 100644
--- a/town.h
+++ b/town.h
@@ -82,7 +82,7 @@ void ShowTownViewWindow(uint town);
void DeleteTown(Town *t);
void ExpandTown(Town *t);
bool GrowTown(Town *t);
-Town *CreateRandomTown(void);
+Town *CreateRandomTown(uint attempts);
enum {
ROAD_REMOVE = 0,