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

@ -87,7 +87,7 @@ decl(void)
if (who == (natid)ni.cur)
continue;
if (opt_HIDDEN) {
if (!player->god && !getcontact(natp, ni.cur)) {
if (!player->god && !in_contact(natp, ni.cur)) {
pr("You haven't contacted country #%d yet\n", ni.cur);
continue;
}