contact: Rename getcontact() to in_contact()

The next commit will create a contact file, and the macro to get a
contact entry will be named getcontact().  Rename the existing
getcontact() out of the way.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
Markus Armbruster 2016-10-23 18:45:27 +02:00
parent e61c332295
commit 7cc34abaca
9 changed files with 12 additions and 11 deletions

View file

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