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 | 563eac90ca20eddd6d359142af36e7387660dff5 (patch) | |
tree | 822211e1a18fb70fe4220e3dc0f3c2f08de03141 /main_gui.c | |
parent | a011190723179f41a81b0445b7567b0c9aa93e98 (diff) | |
download | openttd-563eac90ca20eddd6d359142af36e7387660dff5.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); |