relations: Encapsulate relates[] in relations_string()
Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
parent
0b05f11d28
commit
129fe58c19
3 changed files with 15 additions and 10 deletions
|
@ -86,11 +86,11 @@ setrel(natid us, natid them, enum relations rel)
|
|||
if (addendum && us == player->cnum && !update_running)
|
||||
pr("%s\n", addendum);
|
||||
mpr(us, "Diplomatic relations with %s %s to \"%s\".\n",
|
||||
cname(them), whichway, relates[rel]);
|
||||
cname(them), whichway, relations_string(rel));
|
||||
if (nat_accepts(them, us, REJ_TELE))
|
||||
mpr(them,
|
||||
"Country %s has %s their relations with you to \"%s\"!\n",
|
||||
prnat(mynp), whichway, relates[rel]);
|
||||
prnat(mynp), whichway, relations_string(rel));
|
||||
|
||||
mynp->nat_relate[them] = rel;
|
||||
putnat(mynp);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue