empserver/src/lib/commands
Markus Armbruster 221027aca5 Fix bomb for non-tactical cargo bomber
The various bombing functions silently skipped planes not carrying
bombs.  This sanity check was wrong: it checked capabilities "tactical
or not cargo" instead of "tactical or bomber", and failed for
non-tactical cargo bombers.  No such planes exist in the stock game.
The broken check comes from Chainsaw; it replaced an equally wrong
"not cargo" check.

Because pln_sel() lets only suitable planes go on a bombing run, the
broken sanity check is unnecessary.  Drop it.
2009-12-12 16:28:52 +01:00
..
acce.c Don't use 0 as null pointer constant, part 3 2009-03-24 21:46:01 +01:00
add.c Don't use 0 as null pointer constant, part 3 2009-03-24 21:46:01 +01:00
anti.c Update copyright notice 2009-02-08 09:33:18 +01:00
arm.c Update copyright notice 2009-02-08 09:33:18 +01:00
army.c Don't use 0 as null pointer constant, part 3 2009-03-24 21:46:01 +01:00
assa.c Don't use 0 as null pointer constant, part 1 2009-03-24 21:45:44 +01:00
atta.c Don't use 0 as null pointer constant, part 1 2009-03-24 21:45:44 +01:00
bdes.c Don't use 0 as null pointer constant, part 3 2009-03-24 21:46:01 +01:00
best.c Update copyright notice 2009-02-08 09:33:18 +01:00
boar.c Don't use 0 as null pointer constant, part 1 2009-03-24 21:45:44 +01:00
bomb.c Fix bomb for non-tactical cargo bomber 2009-12-12 16:28:52 +01:00
brea.c Update copyright notice 2009-02-08 09:33:18 +01:00
budg.c Make budget's "Sector building" line look better 2009-07-19 13:58:47 -04:00
buil.c Simplify build_tower() a bit 2009-03-31 23:03:41 +02:00
buy.c Don't use 0 as null pointer constant, part 3 2009-03-24 21:46:01 +01:00
capi.c Update copyright notice 2009-02-08 09:33:18 +01:00
carg.c Update copyright notice 2009-02-08 09:33:18 +01:00
cede.c Don't use 0 as null pointer constant, part 3 2009-03-24 21:46:01 +01:00
cens.c Update copyright notice 2009-02-08 09:33:18 +01:00
chan.c Don't use 0 as null pointer constant, part 3 2009-03-24 21:46:01 +01:00
coas.c Don't use 0 as null pointer constant, part 3 2009-03-24 21:46:01 +01:00
coll.c Clean up unreadable assignments within if conditionals 2009-03-21 09:24:45 +01:00
comm.c Update copyright notice 2009-02-08 09:33:18 +01:00
cons.c Don't use 0 as null pointer constant, part 3 2009-03-24 21:46:01 +01:00
conv.c Update copyright notice 2009-02-08 09:33:18 +01:00
coun.c Update copyright notice 2009-02-08 09:33:18 +01:00
cuto.c Update copyright notice 2009-02-08 09:33:18 +01:00
decl.c Clean up unreadable assignments within if conditionals 2009-03-21 09:24:45 +01:00
deli.c Don't use 0 as null pointer constant, part 3 2009-03-24 21:46:01 +01:00
demo.c Clean up unreadable assignments within if conditionals 2009-03-21 09:24:45 +01:00
desi.c Don't use 0 as null pointer constant, part 3 2009-03-24 21:46:01 +01:00
disa.c Update copyright notice 2009-02-08 09:33:18 +01:00
dist.c Update copyright notice 2009-02-08 09:33:18 +01:00
drop.c Simplify plane selection for drop, fly, recon and sweep 2009-12-08 08:15:51 +01:00
dump.c Update copyright notice 2009-02-08 09:33:18 +01:00
echo.c Update copyright notice 2009-02-08 09:33:18 +01:00
edit.c Don't use 0 as null pointer constant, part 3 2009-03-24 21:46:01 +01:00
enab.c Update copyright notice 2009-02-08 09:33:18 +01:00
enli.c Don't use 0 as null pointer constant, part 3 2009-03-24 21:46:01 +01:00
expl.c Don't use 0 as null pointer constant, part 3 2009-03-24 21:46:01 +01:00
fina.c Update copyright notice 2009-02-08 09:33:18 +01:00
flash.c Don't use 0 as null pointer constant, part 1 2009-03-24 21:45:44 +01:00
flee.c Don't use 0 as null pointer constant, part 3 2009-03-24 21:46:01 +01:00
fly.c Simplify plane selection for drop, fly, recon and sweep 2009-12-08 08:15:51 +01:00
foll.c Don't use 0 as null pointer constant, part 3 2009-03-24 21:46:01 +01:00
forc.c Update copyright notice 2009-02-08 09:33:18 +01:00
fort.c Don't use 0 as null pointer constant, part 3 2009-03-24 21:46:01 +01:00
give.c Don't use 0 as null pointer constant, part 3 2009-03-24 21:46:01 +01:00
grin.c Don't use 0 as null pointer constant, part 3 2009-03-24 21:46:01 +01:00
hard.c Clean up more unreadable assignments within if conditionals 2009-03-23 23:11:14 +01:00
head.c Don't use 0 as null pointer constant, part 2 2009-03-24 21:46:01 +01:00
improve.c Clean up more unreadable assignments within if conditionals 2009-03-23 23:11:14 +01:00
info.c Don't use 0 as null pointer constant, part 3 2009-03-24 21:46:01 +01:00
land.c Update copyright notice 2009-02-08 09:33:18 +01:00
laun.c Change launch of anti-sat to take plane# argument 2009-12-08 08:15:50 +01:00
lboard.c Don't use 0 as null pointer constant, part 1 2009-03-24 21:45:44 +01:00
ldump.c Update copyright notice 2009-02-08 09:33:18 +01:00
ledg.c Update copyright notice 2009-02-08 09:33:18 +01:00
leve.c Update copyright notice 2009-02-08 09:33:18 +01:00
load.c Don't use 0 as null pointer constant, part 1 2009-03-24 21:45:44 +01:00
look.c Update copyright notice 2009-02-08 09:33:18 +01:00
lost.c Update copyright notice 2009-02-08 09:33:18 +01:00
lstat.c Update copyright notice 2009-02-08 09:33:18 +01:00
lten.c Clean up unreadable assignments within if conditionals 2009-03-21 09:24:45 +01:00
map.c Update copyright notice 2009-02-08 09:33:18 +01:00
marc.c Update copyright notice 2009-02-08 09:33:18 +01:00
mark.c Update copyright notice 2009-02-08 09:33:18 +01:00
mfir.c Clean up unreadable assignments within if conditionals 2009-03-21 09:24:45 +01:00
mine.c Change mine command not to work under bridges for now 2009-03-31 23:03:41 +02:00
miss.c Don't use 0 as null pointer constant, part 3 2009-03-24 21:46:01 +01:00
mobq.c Update copyright notice 2009-02-08 09:33:18 +01:00
mora.c Update copyright notice 2009-02-08 09:33:18 +01:00
move.c Don't use 0 as null pointer constant, part 3 2009-03-24 21:46:01 +01:00
name.c Don't use 0 as null pointer constant, part 3 2009-03-24 21:46:01 +01:00
nati.c Update copyright notice 2009-02-08 09:33:18 +01:00
navi.c Update copyright notice 2009-02-08 09:33:18 +01:00
ndump.c Update copyright notice 2009-02-08 09:33:18 +01:00
new.c Don't use 0 as null pointer constant, part 3 2009-03-24 21:46:01 +01:00
newe.c Update copyright notice 2009-02-08 09:33:18 +01:00
news.c Update copyright notice 2009-02-08 09:33:18 +01:00
nuke.c Update copyright notice 2009-02-08 09:33:18 +01:00
offe.c Don't use 0 as null pointer constant, part 3 2009-03-24 21:46:01 +01:00
orde.c Don't use 0 as null pointer constant, part 3 2009-03-24 21:46:01 +01:00
orig.c Update copyright notice 2009-02-08 09:33:18 +01:00
para.c Simplify plane selection for drop, fly, recon and sweep 2009-12-08 08:15:51 +01:00
path.c Update copyright notice 2009-02-08 09:33:18 +01:00
payo.c Update copyright notice 2009-02-08 09:33:18 +01:00
pboa.c Update copyright notice 2009-02-08 09:33:18 +01:00
pdump.c Update copyright notice 2009-02-08 09:33:18 +01:00
peek.c Update copyright notice 2009-02-08 09:33:18 +01:00
plan.c Update copyright notice 2009-02-08 09:33:18 +01:00
play.c Don't use 0 as null pointer constant, part 1 2009-03-24 21:45:44 +01:00
powe.c Revamp server's Windows POSIX compatibility code 2009-11-30 19:45:04 +01:00
prod.c Fix prod() to limit level production to resource contents 2009-12-08 08:12:55 +01:00
pstat.c Update copyright notice 2009-02-08 09:33:18 +01:00
rada.c Don't use 0 as null pointer constant, part 3 2009-03-24 21:46:01 +01:00
rang.c Update copyright notice 2009-02-08 09:33:18 +01:00
rea.c Don't use 0 as null pointer constant, part 3 2009-03-24 21:46:01 +01:00
real.c Don't use 0 as null pointer constant, part 3 2009-03-24 21:46:01 +01:00
reco.c Simplify plane selection for drop, fly, recon and sweep 2009-12-08 08:15:51 +01:00
reje.c Don't use 0 as null pointer constant, part 3 2009-03-24 21:46:01 +01:00
rela.c Don't use 0 as null pointer constant, part 3 2009-03-24 21:46:01 +01:00
relo.c Update copyright notice 2009-02-08 09:33:18 +01:00
repa.c Don't use 0 as null pointer constant, part 3 2009-03-24 21:46:01 +01:00
repo.c Update copyright notice 2009-02-08 09:33:18 +01:00
rese.c Don't use 0 as null pointer constant, part 3 2009-03-24 21:46:01 +01:00
reso.c Update copyright notice 2009-02-08 09:33:18 +01:00
retr.c Update copyright notice 2009-02-08 09:33:18 +01:00
rout.c Don't use 0 as null pointer constant, part 3 2009-03-24 21:46:01 +01:00
sabo.c Factor new lnd_sabo() out of sabo() 2009-12-05 15:19:37 +01:00
sail.c Update copyright notice 2009-02-08 09:33:18 +01:00
sate.c Update copyright notice 2009-02-08 09:33:18 +01:00
scra.c Don't use 0 as null pointer constant, part 3 2009-03-24 21:46:01 +01:00
scut.c Don't use 0 as null pointer constant, part 3 2009-03-24 21:46:01 +01:00
sdump.c Update copyright notice 2009-02-08 09:33:18 +01:00
sect.c Update copyright notice 2009-02-08 09:33:18 +01:00
sell.c Clean up more unreadable assignments within if conditionals 2009-03-23 23:11:14 +01:00
set.c Don't use 0 as null pointer constant, part 3 2009-03-24 21:46:01 +01:00
setres.c Don't use 0 as null pointer constant, part 3 2009-03-24 21:46:01 +01:00
setsect.c Don't use 0 as null pointer constant, part 3 2009-03-24 21:46:01 +01:00
shar.c Update copyright notice 2009-02-08 09:33:18 +01:00
shark.c Don't use 0 as null pointer constant, part 3 2009-03-24 21:46:01 +01:00
shi.c Update copyright notice 2009-02-08 09:33:18 +01:00
shoo.c Don't use 0 as null pointer constant, part 3 2009-03-24 21:46:01 +01:00
show.c Fix show help text to include news and product 2009-12-05 15:19:37 +01:00
shut.c Update copyright notice 2009-02-08 09:33:18 +01:00
sinf.c Update copyright notice 2009-02-08 09:33:18 +01:00
skyw.c Don't use 0 as null pointer constant, part 3 2009-03-24 21:46:01 +01:00
sona.c Update copyright notice 2009-02-08 09:33:18 +01:00
spy.c Update copyright notice 2009-02-08 09:33:18 +01:00
sstat.c Update copyright notice 2009-02-08 09:33:18 +01:00
stop.c Don't use 0 as null pointer constant, part 3 2009-03-24 21:46:01 +01:00
stre.c Fix confusion of landmines with seamines 2009-03-31 22:52:03 +02:00
strv.c Update copyright notice 2009-02-08 09:33:18 +01:00
supp.c Redesign automatic supply interface 2009-02-17 19:31:37 +01:00
surv.c Update copyright notice 2009-02-08 09:33:18 +01:00
swap.c Fix swapsector not to wipe out concurrent updates. 2009-03-09 22:32:10 +01:00
tele.c Update copyright notice 2009-02-08 09:33:18 +01:00
tend.c Fix tend land not to wipe out concurrent updates 2009-04-18 08:41:28 +02:00
terr.c Don't use 0 as null pointer constant, part 3 2009-03-24 21:46:01 +01:00
thre.c Don't use 0 as null pointer constant, part 3 2009-03-24 21:46:01 +01:00
togg.c Update copyright notice 2009-02-08 09:33:18 +01:00
torp.c Don't use 0 as null pointer constant, part 3 2009-03-24 21:46:01 +01:00
trad.c Clean up poorly chosen loop control variable names 2009-05-21 09:30:05 +02:00
tran.c Don't use 0 as null pointer constant, part 3 2009-03-24 21:46:01 +01:00
trea.c Update copyright notice 2009-02-08 09:33:18 +01:00
turn.c Restructure turn() for simpler control flow 2009-02-08 20:49:42 +01:00
upda.c Update copyright notice 2009-02-08 09:33:18 +01:00
upgr.c Update copyright notice 2009-02-08 09:33:18 +01:00
vers.c Update copyright notice 2009-02-08 09:33:18 +01:00
wing.c Update copyright notice 2009-02-08 09:33:18 +01:00
wipe.c Update copyright notice 2009-02-08 09:33:18 +01:00
work.c Don't use 0 as null pointer constant, part 3 2009-03-24 21:46:01 +01:00
xdump.c Update copyright notice 2009-02-08 09:33:18 +01:00
zdon.c Update copyright notice 2009-02-08 09:33:18 +01:00