(decl): Prevent the deity from changing relations for a player to

self.  Closes #1384998.  Allow the deity to set the relations of a
player towards the deity.
This commit is contained in:
Ron Koenderink 2007-01-03 12:54:41 +00:00
parent 67027e22d1
commit ec28000e34

View file

@ -98,7 +98,7 @@ decl(void)
while (nxtitem(&ni, &nat)) {
if (nat.nat_stat == STAT_UNUSED)
continue;
if (player->cnum == (natid)ni.cur)
if (who == (natid)ni.cur)
continue;
if (opt_HIDDEN) {
if (!player->god && !getcontact(natp, ni.cur)) {