forked from mirror/OpenTTD
(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.
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user