diff options
author | celestar <celestar@openttd.org> | 2005-02-13 09:42:49 +0000 |
---|---|---|
committer | celestar <celestar@openttd.org> | 2005-02-13 09:42:49 +0000 |
commit | 77d26759e3e4f0ada2298d8e89e64380592537d1 (patch) | |
tree | 822211e1a18fb70fe4220e3dc0f3c2f08de03141 /main_gui.c | |
parent | 58c46bed4072a563f037278d5f023c0bbf3c83a7 (diff) | |
download | openttd-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 'main_gui.c')
-rw-r--r-- | main_gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main_gui.c b/main_gui.c index 48e1c9b00..37af61068 100644 --- a/main_gui.c +++ b/main_gui.c @@ -1444,7 +1444,7 @@ static void ScenEditTownGenWndProc(Window *w, WindowEvent *e) HandleButtonClick(w, 4); _generating_world = true; - t = CreateRandomTown(); + t = CreateRandomTown(20); _generating_world = false; if (t != NULL) ScrollMainWindowToTile(t->xy); |