reject: Exempt bulletins on relation change with deity

Bulletins notifying on a relations change can be rejected just like a
telegram from the country initiating the change, except for one
inconsistency: telegrams from deities are exempt, but bulletins on a
relation change by a deity aren't.  Inconsistent since rejecting was
added in Merc Empire.

Change setrel() to treat relation change bulletins the same as tele()
treats telegrams.

Should not normally matter, because the reject command doesn't let you
reject deities.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
Markus Armbruster 2016-10-31 10:20:30 +01:00
parent 5da4f700b7
commit 36fa303f49

View file

@ -88,7 +88,7 @@ setrel(natid us, natid them, int rel)
pr("%s\n", addendum); pr("%s\n", addendum);
mpr(us, "Diplomatic relations with %s %s to \"%s\".\n", mpr(us, "Diplomatic relations with %s %s to \"%s\".\n",
cname(them), whichway, relates[rel]); cname(them), whichway, relates[rel]);
if (!(getrejects(us, themnp) & REJ_TELE)) if (mynp->nat_stat == STAT_GOD || !(getrejects(us, themnp) & REJ_TELE))
mpr(them, mpr(them,
"Country %s has %s their relations with you to \"%s\"!\n", "Country %s has %s their relations with you to \"%s\"!\n",
prnat(mynp), whichway, relates[rel]); prnat(mynp), whichway, relates[rel]);