]> git.pond.sub.org Git - empserver/commitdiff
Add missing expansion island
authorRon Koenderink <rkoenderink@yahoo.ca>
Fri, 25 Jan 2008 14:12:49 +0000 (08:12 -0600)
committerMarkus Armbruster <armbru@pond.sub.org>
Sun, 27 Jan 2008 13:20:51 +0000 (14:20 +0100)
The number of islands was off by one.  The last island was
created, but not actually placed on the map.

src/util/fairland.c

index d7802add01d2d32f234a48931fdfe146aabe6387..104aa9df787f3be1488e1a639795a270e7f476cc 100644 (file)
@@ -832,7 +832,7 @@ grow_islands(void)
        find_coast(c);
        qprint(" %d(%d)", c - nc + 1, secs);
        isecs[c] = secs;
        find_coast(c);
        qprint(" %d(%d)", c - nc + 1, secs);
        isecs[c] = secs;
-       ctot = c;
+       ctot++;
     }
 }
 
     }
 }