mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fixed: JAV_DIR was erroring.
This commit is contained in:
parent
37de67395f
commit
ef6d090238
@ -43,11 +43,7 @@ switch( (_state select 0) ) do {
|
|||||||
};
|
};
|
||||||
case STAGE_CLIMB: {
|
case STAGE_CLIMB: {
|
||||||
TRACE_1("STAGE_CLIMB","");
|
TRACE_1("STAGE_CLIMB","");
|
||||||
_cruisAlt = 60;
|
_cruisAlt = 60 * (_distanceShooterToTarget/2000);
|
||||||
if(_distanceShooterToTarget < w) then {
|
|
||||||
_cruisAlt = 60 * (_distanceShooterToTarget/2000);
|
|
||||||
TRACE_1("_cruisAlt", _cruisAlt);
|
|
||||||
};
|
|
||||||
|
|
||||||
if( ((ASLToATL _projectilePos) select 2) - ((ASLToATL _seekerTargetPos) select 2) >= _cruisAlt) then {
|
if( ((ASLToATL _projectilePos) select 2) - ((ASLToATL _seekerTargetPos) select 2) >= _cruisAlt) then {
|
||||||
_state set[0, STAGE_TERMINAL];
|
_state set[0, STAGE_TERMINAL];
|
||||||
|
Loading…
Reference in New Issue
Block a user