empserver/src/lib/subs
Markus Armbruster 9e6b5a9133 Don't let deities fly foreign planes
Much code assumes that only the plane's owner can fly it.
pln_airbase_ok() oopses since commit 446f1991.  Before, flying planes
from carriers failed with a bogus "not valid for" message, and flying
from sectors had output misdirected to the plane's owner.

It would be nice to let deities fly foreign planes, but the assumption
is not trivial to remove, so just satisfy it for now.

Historical note: it looks like deities used to be able to fly foreign
planes just fine until Chainsaw 3 added missions.  The launch command
has always rejected foreign planes, even for deities.
2010-07-11 07:59:43 +02:00
..
aircombat.c Clean up dead stores 2010-01-19 08:40:42 +01:00
askyn.c Update copyright notice 2010-01-19 08:40:17 +01:00
aswplnsubs.c Clean up dead stores 2010-01-19 08:40:42 +01:00
attsub.c Drop get_land() parameter victim_land 2010-06-21 21:03:21 +02:00
bigmap.c Update copyright notice 2010-01-19 08:40:17 +01:00
border.c Clean up dead stores 2010-01-19 08:40:42 +01:00
bridgefall.c Don't beep when plane, land unit or nuke die on collapsing bridge 2010-06-27 18:27:48 +02:00
bsanct.c Update copyright notice 2010-01-19 08:40:17 +01:00
caploss.c Update copyright notice 2010-01-19 08:40:17 +01:00
check.c Update copyright notice 2010-01-19 08:40:17 +01:00
coastal.c Update copyright notice 2010-01-19 08:40:17 +01:00
control.c Update copyright notice 2010-01-19 08:40:17 +01:00
damage.c Update copyright notice 2010-01-19 08:40:17 +01:00
detonate.c Improve bulletin for nuke destroyed by nuclear attack 2010-06-27 09:21:56 +02:00
disloan.c Update copyright notice 2010-01-19 08:40:17 +01:00
distrea.c Update copyright notice 2010-01-19 08:40:17 +01:00
empobj.c Update copyright notice 2010-01-19 08:40:17 +01:00
fileinit.c Update copyright notice 2010-01-19 08:40:17 +01:00
fortdef.c Convert tab after #define to space 2010-06-20 18:38:54 +02:00
getbit.c Update copyright notice 2010-01-19 08:40:17 +01:00
getele.c Update copyright notice 2010-01-19 08:40:17 +01:00
getstarg.c Update copyright notice 2010-01-19 08:40:17 +01:00
getstring.c Update copyright notice 2010-01-19 08:40:17 +01:00
journal.c Update copyright notice 2010-01-19 08:40:17 +01:00
land.c Update copyright notice 2010-01-19 08:40:17 +01:00
landgun.c Update copyright notice 2010-01-19 08:40:17 +01:00
list.c Update copyright notice 2010-01-19 08:40:17 +01:00
lndsub.c Message for land unit hitting mines lacked a newline 2010-06-27 18:28:07 +02:00
lostsub.c Update copyright notice 2010-01-19 08:40:17 +01:00
maps.c Clean up dead stores 2010-01-19 08:40:42 +01:00
mission.c Convert spaces to tabs 2010-06-20 18:36:44 +02:00
move.c Update copyright notice 2010-01-19 08:40:17 +01:00
mslsub.c Clean up misuse of mpr() in msl_launch() 2010-06-27 18:28:07 +02:00
mtch.c Update copyright notice 2010-01-19 08:40:17 +01:00
natarg.c Update copyright notice 2010-01-19 08:40:17 +01:00
natsub.c Update copyright notice 2010-01-19 08:40:17 +01:00
neigh.c Update copyright notice 2010-01-19 08:40:17 +01:00
nreport.c Update copyright notice 2010-01-19 08:40:17 +01:00
nstr.c Coding style fixes, mostly indentation and whitespace 2010-06-20 18:36:38 +02:00
nuke.c Update copyright notice 2010-01-19 08:40:17 +01:00
nxtitem.c Update copyright notice 2010-01-19 08:40:17 +01:00
nxtsct.c Update copyright notice 2010-01-19 08:40:17 +01:00
onearg.c Update copyright notice 2010-01-19 08:40:17 +01:00
paths.c Coding style fixes, mostly indentation and whitespace 2010-06-20 18:36:38 +02:00
plane.c Update copyright notice 2010-01-19 08:40:17 +01:00
plnsub.c Don't let deities fly foreign planes 2010-07-11 07:59:43 +02:00
pr.c Oops when mpr() is misused for printing partial lines 2010-07-11 07:59:43 +02:00
radmap.c Update copyright notice 2010-01-19 08:40:17 +01:00
rej.c Update copyright notice 2010-01-19 08:40:17 +01:00
retreat.c Clean up dead stores 2010-01-19 08:40:42 +01:00
sarg.c Coding style fixes, mostly indentation and whitespace 2010-06-20 18:36:38 +02:00
satmap.c Drop prxy()'s parameter country 2010-06-21 21:03:21 +02:00
sect.c Break long lines more tastefully 2010-06-20 18:36:44 +02:00
sectdamage.c Update copyright notice 2010-01-19 08:40:17 +01:00
ship.c Update copyright notice 2010-01-19 08:40:17 +01:00
show.c Coding style fixes, mostly indentation and whitespace 2010-06-20 18:36:38 +02:00
shpsub.c Clean up misuse of mpr() in shp_missile_defense() 2010-06-27 18:28:07 +02:00
snxtitem.c Break long lines more tastefully 2010-06-20 18:36:44 +02:00
snxtsct.c Update copyright notice 2010-01-19 08:40:17 +01:00
supply.c Update copyright notice 2010-01-19 08:40:17 +01:00
takeover.c Clean up dead stores 2010-01-19 08:40:42 +01:00
trdsub.c Update copyright notice 2010-01-19 08:40:17 +01:00
trechk.c Update copyright notice 2010-01-19 08:40:17 +01:00
unitsub.c Drop prxy()'s parameter country 2010-06-21 21:03:21 +02:00
whatitem.c Update copyright notice 2010-01-19 08:40:17 +01:00
wu.c Update copyright notice 2010-01-19 08:40:17 +01:00