forked from github/server
Der Inselgenerator macht manchmal beschissene Inseln, da kann ich im Moment
nix dran tun...
This commit is contained in:
parent
ae08f7c0f7
commit
96c5edd76d
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue