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:
parent
e61c332295
commit
7cc34abaca
9 changed files with 12 additions and 11 deletions
|
@ -69,9 +69,9 @@ rela(void)
|
|||
if (np->nat_stat < STAT_SANCT)
|
||||
continue;
|
||||
if (opt_HIDDEN) {
|
||||
if (!player->god && !getcontact(natp, cn))
|
||||
if (!player->god && !in_contact(natp, cn))
|
||||
continue;
|
||||
if (!player->god && !getcontact(getnatp(player->cnum), cn))
|
||||
if (!player->god && !in_contact(getnatp(player->cnum), cn))
|
||||
continue;
|
||||
}
|
||||
pr("%3d) %-20.20s ", cn, cname(cn));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue