(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:
celestar
2005-02-13 09:42:49 +00:00
parent 58c46bed40
commit 77d26759e3
3 changed files with 14 additions and 8 deletions

2
town.h
View File

@@ -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,