mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fix wind display angle being reversed
This commit is contained in:
parent
5df211c586
commit
3a62956e24
@ -56,7 +56,7 @@ TRACE_1("Starting Wind Info PFEH", GVAR(WindInfo));
|
||||
|
||||
private _playerDir = (ACE_player call CBA_fnc_headDir) select 0;
|
||||
private _windDir = (ACE_wind select 0) atan2 (ACE_wind select 1);
|
||||
_windDir = 30 * (round(((_playerDir - _windDir + 360) % 360) / 30));
|
||||
_windDir = 30 * (round(((_windDir - _playerDir + 360) % 360) / 30));
|
||||
|
||||
// Color Codes from https://en.wikipedia.org/wiki/Beaufort_scale#Modern_scale
|
||||
private _beaufortNumber = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user