File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 2121
2222int Cmeasures_homing_check = 0 ;
2323int Countermeasures_enabled = 1 ; // Debug, set to 0 means no one can fire countermeasures.
24- const int CMEASURE_DETONATE_DISTANCE = 40 .0f ;
24+ const float CMEASURE_DETONATE_DISTANCE = 40 .0f ;
2525
2626// Used to set a countermeasure velocity after being launched from a ship as a countermeasure
2727// ie not as a primary or secondary.
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ class object;
2222// Maximum distance at which a countermeasure can be tracked
2323// If this value is too large, missiles will always be tracking countermeasures.
2424#define MAX_CMEASURE_TRACK_DIST 300 .0f
25- extern const int CMEASURE_DETONATE_DISTANCE;
25+ extern const float CMEASURE_DETONATE_DISTANCE;
2626
2727extern int Cmeasures_homing_check;
2828extern int Countermeasures_enabled;
You can’t perform that action at this time.
0 commit comments