]> git.pond.sub.org Git - empserver/commit
Use relations_with() in nav_loadship()
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 30 Jan 2011 16:10:43 +0000 (17:10 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Wed, 16 Feb 2011 06:55:24 +0000 (07:55 +0100)
commit58cc82589e0c8190db8f2819fbcfa434c003dbe9
tree7905af7d93f65400bc537d5c60ef1c63abeab3bd
parent983dae641c3bf738aad96d31613baac18fb674d3
Use relations_with() in nav_loadship()

No functional change, because the value of rel only matters when
sectp->sct_own != sp->shp_own, and then it's the same as before.

The new value of rel permits simplifying sectp->sct_own == sp->shp_own
|| rel >= FRIENDLY to just rel >= FRIENDLY.
src/lib/update/nav_ship.c