(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:
parent
b6042b3b1f
commit
3645ee77c8
1 changed files with 4 additions and 4 deletions
|
@ -27,9 +27,9 @@
|
||||||
*
|
*
|
||||||
* econfig-spec.h: Combined include for optlist.h and emp_config.c
|
* econfig-spec.h: Combined include for optlist.h and emp_config.c
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Preprocessor of MSC C++ 6.0 (VC98) is broken and chokes on empty
|
* Preprocessor of MSC C++ 6.0 (VC98) is broken and chokes on empty
|
||||||
* macro arguments. Fixed in MSC C++ 7.0. Work around: pass
|
* macro arguments. Fixed in MSC C++ 7.0. Work around: pass
|
||||||
* useless token `unused'.
|
* useless token `unused'.
|
||||||
*/
|
*/
|
||||||
|
@ -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")
|
"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,
|
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")
|
"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")
|
"Scale factor for flak damage")
|
||||||
EMPCFBOTH("combat_mob", combat_mob, double, NSC_DOUBLE, 0,
|
EMPCFBOTH("combat_mob", combat_mob, double, NSC_DOUBLE, 0,
|
||||||
"How much mobility do units spend for combat (* casualties/bodies)")
|
"How much mobility do units spend for combat (* casualties/bodies)")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue