]> git.pond.sub.org Git - empserver/commit
(pln_mine, pln_dropoff): Split off aerial mining into new pln_mine().
authorMarkus Armbruster <armbru@pond.sub.org>
Sat, 14 Aug 2004 17:12:20 +0000 (17:12 +0000)
committerMarkus Armbruster <armbru@pond.sub.org>
Sat, 14 Aug 2004 17:12:20 +0000 (17:12 +0000)
commitd993fdef90d99e5230a3f51898266bc7cf10e406
tree0e3537a207b81123d81f821b155087502ae208e0
parent003e068615ef0460a1e20e477cf8ce026504b017
(pln_mine, pln_dropoff): Split off aerial mining into new pln_mine().
Callers changed.

(drop): Do not disclose anything about target sector before planes
actually got there, unless the target sector is owned by the player or
an ally.  This plugs a major loophole.  Consequently, the command can
no longer always refuse to attempt to drop stuff where it won't work.
Instead, the planes fly out to try.  Other plane commands (para, bomb)
behave exactly the same.  Also closes #909859.
(pln_dropoff): Cope with planes trying to drop where they can't.

(drop): Refuse to drop civilians into allied sectors, for consistency
with other means to move around stuff.
include/prototypes.h
src/lib/commands/drop.c
src/lib/subs/plnsub.c