]> git.pond.sub.org Git - empserver/commit
Clean up outmoded tests for paradrop capability
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 27 Sep 2009 14:55:33 +0000 (10:55 -0400)
committerMarkus Armbruster <armbru@pond.sub.org>
Tue, 8 Dec 2009 07:15:51 +0000 (08:15 +0100)
commitdf1ca95a2a501bc59627c4fa748f1658e498bd14
tree3b05617bfb069879acd5cc1f37962825fe1ed386
parent062a42fb7b474b615a7f87749e793134e1ad41b4
Clean up outmoded tests for paradrop capability

Initially, paradrop capability was implied both by capability cargo
and by capability VTOL.  Chainsaw changed para() to require cargo, and
added compile-time option PARAFLAG to additionally require new
capability para.  The optional PARAFLAG rule became mandatory in
Empire 2.

Chainsaw left the old tests for "cargo or VTOL" in place.  Because
para() checked "cargo and para" first, the old tests for "cargo or
VTOL" always passed, so they had no effect.

Clean them up anyway.
src/lib/commands/para.c
src/lib/subs/mission.c
src/lib/subs/plnsub.c