]> git.pond.sub.org Git - empserver/commit
Use relations_with() where its different value doesn't matter
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 30 Jan 2011 10:46:17 +0000 (11:46 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Wed, 16 Feb 2011 06:52:25 +0000 (07:52 +0100)
commit6807cd91b5b8aa457ef18885b7dbca5ec8d5de9e
tree7c4e800371bbe653dcb70140c1b1b9c14e54c702
parent8e75b22e0dc0a2badb731a007f7f2a441d83b1cd
Use relations_with() where its different value doesn't matter

Switching from getrel() to relations_with() can change the value from
NEUTRAL to ALLIED.  The change doesn't matter when the value's only
compared to HOSTILE, as both old and new value are greater than
HOSTILE.  Likewise for >= NEUTRAL.
src/lib/subs/aircombat.c
src/lib/subs/mission.c
src/lib/subs/mslsub.c
src/lib/subs/nreport.c
src/lib/subs/shpsub.c