Complete.Org: Mailing Lists: Archives: freeciv-dev: June 2000:
[Freeciv-Dev] start positions and rivers
Home

[Freeciv-Dev] start positions and rivers

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] start positions and rivers
From: Thue Janus Kristensen <thue@xxxxxxx>
Date: Mon, 12 Jun 2000 21:29:04 +0200

You get an infinite loop in 
void create_start_positions(void)
if all land is covered in rivers.
Not that hard to create; just lower mapsize and landmass, and set rivers
to 1000 (I found it this way). Just remember that setting rivers to 1000
doesn't always mean that all land will be covered.
(use randseed 960837383 to reproduce)

How should this be solved? Allowing start positions on rivers?

In any case that loop should have a counter and a warning if the counter
got really big.

-Thue



[Prev in Thread] Current Thread [Next in Thread]