Der Inselgenerator macht manchmal beschissene Inseln, da kann ich im Moment

nix dran tun...
This commit is contained in:
Enno Rehling 2002-10-12 09:28:21 +00:00
parent ae08f7c0f7
commit 96c5edd76d
1 changed files with 1 additions and 1 deletions

View File

@ -330,7 +330,7 @@ mkisland(int nsize)
terraform(r, T_OCEAN);
add_regionlist(&rlist, r);
rsize = 1;
while (nsize) {
while (nsize && rsize) {
int i = rand() % rsize;
regionlist ** rnext = &rlist;
direction_t d;