(sect_ca): New selector elev. It's set by fairland, but has no effect
authorMarkus Armbruster <armbru@pond.sub.org>
Sat, 22 Dec 2007 08:11:21 +0000 (08:11 +0000)
committerMarkus Armbruster <armbru@pond.sub.org>
Sat, 22 Dec 2007 08:11:21 +0000 (08:11 +0000)
on the game.  It can be useful for deities to customize a world
created by fairland.

src/lib/global/nsc.c

index 3cd72706a14b87d9e62f775f71c738b1b085884d..267fcfff5b9740615e4f311c8c9570c3a0aa0036 100644 (file)
@@ -105,6 +105,7 @@ struct castr pchr_ca[] = {
 struct castr sect_ca[] = {
     /* uid is encoded in x, y */
     {NSC_NATID, 0, 0, fldoff(sctstr, sct_own), "owner", EF_NATION},
+    {NSC_SHORT, NSC_DEITY, 0, fldoff(sctstr, sct_elev), "elev", EF_BAD},
     {NSC_XCOORD, NSC_CONST, 0, fldoff(sctstr, sct_x), "xloc", EF_BAD},
     {NSC_YCOORD, NSC_CONST, 0, fldoff(sctstr, sct_y), "yloc", EF_BAD},
     {NSC_UCHAR, 0, 0, fldoff(sctstr, sct_type), "des", EF_SECTOR_CHR},