contact: Change in_contact()'s first parameter to natid

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
Markus Armbruster 2016-10-29 09:06:12 +02:00
parent c8e7548f24
commit d35303d426
9 changed files with 19 additions and 20 deletions

View file

@ -58,7 +58,7 @@ repo(void)
if (nat.nat_stat == STAT_UNUSED)
continue;
if (opt_HIDDEN) {
if (!player->god && !in_contact(natp, ni.cur))
if (!player->god && !in_contact(player->cnum, ni.cur))
continue;
}
if (!player->god && nat.nat_stat != STAT_ACTIVE)