(ac_calc_flak,ac_fireflak,pinflak_planedamage): New ac_calc_flak().

Move common flak damage code from ac_fireflak() and
pinflak_planedamage() to ac_calc_flak().

Remove carriage return from comment.
This commit is contained in:
Ron Koenderink 2004-12-16 19:28:17 +00:00
parent b6042b3b1f
commit 3645ee77c8

View file

@ -213,7 +213,7 @@ EMPCFBOTH("land_max_interdiction_range", land_max_interdiction_range, int, NSC_I
"Maximum range (in sectors) a land unit will try to interdict another country")
EMPCFBOTH("ship_max_interdiction_range", ship_max_interdiction_range, int, NSC_INT, 0,
"Maximum range (in sectors) a ship will try to interdict another country")
EMPCFBOTH("flakscale", flakscale, double, NSC_DOUBLE, 0,
EMPCFBOTH("flakscale", flakscale, float, NSC_FLOAT, 0,
"Scale factor for flak damage")
EMPCFBOTH("combat_mob", combat_mob, double, NSC_DOUBLE, 0,
"How much mobility do units spend for combat (* casualties/bodies)")