Make fairland record the island number in the deity territory
authorMarkus Armbruster <armbru@pond.sub.org>
Sat, 5 Apr 2008 14:09:24 +0000 (16:09 +0200)
committerMarkus Armbruster <armbru@pond.sub.org>
Tue, 26 Jan 2010 21:49:51 +0000 (22:49 +0100)
Can be useful for deities when further customizing their game setup.

src/util/fairland.c

index 2628f9d73450cefc92786cf8d41bc6f2a442eaab..8f5f454b81a032c9c0686bc14adab208ed00fe1f 100644 (file)
@@ -1092,6 +1092,7 @@ write_sects(void)
                sct->sct_type = SCT_MOUNT;
            sct->sct_elev = total;
            sct->sct_newtype = sct->sct_type;
+           sct->sct_dterr = own[sct->sct_x][y] + 1;
            if (ORE)
                add_resources(sct);
        }