]> git.pond.sub.org Git - empserver/commit
Make selector terr do the right thing for deities
authorMarkus Armbruster <armbru@pond.sub.org>
Fri, 11 Jul 2008 11:44:02 +0000 (07:44 -0400)
committerMarkus Armbruster <armbru@pond.sub.org>
Sat, 12 Jul 2008 14:43:03 +0000 (10:43 -0400)
commit89d168cd65a3496f06ec8e9c0963d91a91896d47
treea251ff06c6e3b6964008f2f103b7fca363d0c733
parent7a06a58bec0435a66a682269397193d8d17461de
Make selector terr do the right thing for deities

Commit db1ac2ed (v4.3.6) introduced a separate territory for deities,
and made the territory command use it by default for deities.  Deities
can still access the old default territory as territory number 0.

Selectors terr, terr0 (alias for terr), terr1, terr2, terr3 remained
unchanged, and a new selector dterr was created to let deities access
the deity territory.

Make selector terr virtual, so that it can do "the right thing", just
like the territory command: select territory 0 for mortals, and the
deity territory for deities.

Unfortunately, this requires us to switch xdump to use terr0 instead
of terr, because otherwise the deity xdump would contain the deity
territory twice, and territory 0 not at all.
info/Selector.t
src/lib/global/nsc.c