]> git.pond.sub.org Git - empserver/commit
(carrier_planes): New.
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 4 Nov 2007 15:07:43 +0000 (15:07 +0000)
committerMarkus Armbruster <armbru@pond.sub.org>
Sun, 4 Nov 2007 15:07:43 +0000 (15:07 +0000)
commitd5afd757a948ea2281cea06078fbc55405cfaa82
tree59a9b3f5199e7173f0befbec3727a1fb3777ba9c
parent4ced91fe3fe8d68e9832dbd3a33b451e683ae51e
(carrier_planes): New.
(pln_onewaymission): Use it.  No functional change.
(pln_airbase_ok): Use it to enforce capabilities.  Before, a plane
could fly once it got on the ship.  Because ships can load only planes
that can fly from them, this has no effect other than make that sanity
check redundant; remove it.

(pln_airbase_ok): Update land unit case to keep it similar to the ship
case.
src/lib/subs/plnsub.c