]> git.pond.sub.org Git - empserver/commit
Make passing paradrop & mine cargo to pln_arm() & friends optional
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 27 Sep 2009 13:31:50 +0000 (09:31 -0400)
committerMarkus Armbruster <armbru@pond.sub.org>
Tue, 8 Dec 2009 07:15:51 +0000 (08:15 +0100)
commit062a42fb7b474b615a7f87749e793134e1ad41b4
treeafd4058a7f59eb90013748b500cff8d50bd1411d
parent15d355521a0a746409a6fa251ec30ff02c1beccd
Make passing paradrop & mine cargo to pln_arm() & friends optional

These missions imply the cargo type, just like bombing missions.  Use
the implied type instead of cargo type parameter ip there.  Parameter
ip is now optional except for missions 't' (transport) and 'd' (drop).

Simplify para() not to pass the optional cargo type.  Leave drop()
alone, because always passing the type is simpler there.
src/lib/commands/para.c
src/lib/subs/mission.c
src/lib/subs/plnsub.c