From 77d26759e3e4f0ada2298d8e89e64380592537d1 Mon Sep 17 00:00:00 2001 From: celestar Date: Sun, 13 Feb 2005 09:42:49 +0000 Subject: (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. --- town.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'town.h') 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, -- cgit v1.2.3-54-g00ecf