mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
EFUNC(advanced_ballistics,calculateWindSpeed)
This commit is contained in:
parent
7a1e905c79
commit
5a0faf720f
@ -26,7 +26,7 @@ if (vehicle ACE_player != ACE_player) exitWith { true };
|
||||
// Toogle behaviour depending on ace_advanced_ballistics being used or not
|
||||
// @todo, check ACE_AB is actually enabled
|
||||
_windSpeed = if (isClass (configFile >> "CfgPatches" >> "ACE_Advanced_Ballistics")) then {
|
||||
(eyePos ACE_player) call FUNC(calculateWindSpeed);
|
||||
(eyePos ACE_player) call EFUNC(advanced_ballistics,calculateWindSpeed);
|
||||
} else {
|
||||
vectorMagnitude ACE_wind;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user