]> git.pond.sub.org Git - empserver/commit
(pln_oneway_to_carrier_ok): New.
authorMarkus Armbruster <armbru@pond.sub.org>
Fri, 13 Aug 2004 20:22:03 +0000 (20:22 +0000)
committerMarkus Armbruster <armbru@pond.sub.org>
Fri, 13 Aug 2004 20:22:03 +0000 (20:22 +0000)
commit1127762cc15bb0bea75527b8cc9a20cf43ec01e1
tree3afdc70180d2d2bf1baf3539a9209f952b5eb057
parentab0d5a87bd50a283cc8d55e0cb259bc228a7e265
(pln_oneway_to_carrier_ok): New.
(fly, reco): Use it to prevent flying to a carrier that doesn't have
space for the planes.  Previously, planes that did this were
teleported home, which could be abused.

(fly): Fail if pln_sel() comes up empty, just like the other commands
to fly planes.
include/prototypes.h
src/lib/commands/fly.c
src/lib/commands/reco.c
src/lib/subs/plnsub.c