mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Refined the abort condition for the range card calculation
This commit is contained in:
parent
d0e1af6e47
commit
65b9e67991
@ -147,7 +147,7 @@ while {_TOF < 6 && (_bulletPos select 1) < _targetRange} do {
|
||||
_stepsTotal = _stepsTotal + 1;
|
||||
_speedAverage = (_speedTotal / _stepsTotal);
|
||||
|
||||
if (_speedAverage > 400 && _bulletSpeed < _speedOfSound) exitWith {};
|
||||
if (_speedAverage > 450 && _bulletSpeed < _speedOfSound) exitWith {};
|
||||
if (atan((_bulletPos select 2) / (abs(_bulletPos select 1) + 1)) < -2.254) exitWith {};
|
||||
|
||||
_trueVelocity = _bulletVelocity vectorDiff _wind1;
|
||||
|
Loading…
Reference in New Issue
Block a user