From 183034183e72375a64e4275e12af5e18a4c3c842 Mon Sep 17 00:00:00 2001 From: ulteq Date: Tue, 7 Apr 2015 22:02:38 +0200 Subject: [PATCH] Resolved a minor issue between protractor and wind info --- addons/advanced_ballistics/functions/fnc_displayProtractor.sqf | 2 +- addons/weather/functions/fnc_displayWindInfo.sqf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/advanced_ballistics/functions/fnc_displayProtractor.sqf b/addons/advanced_ballistics/functions/fnc_displayProtractor.sqf index 4449a89a28..17d5077117 100644 --- a/addons/advanced_ballistics/functions/fnc_displayProtractor.sqf +++ b/addons/advanced_ballistics/functions/fnc_displayProtractor.sqf @@ -28,7 +28,7 @@ if (currentWeapon ACE_player != primaryWeapon ACE_player) exitWith { true }; [] spawn { 2 cutText ["", "PLAIN"]; - GVAR(WindInfo) = false; + EGVAR(weather,WindInfo) = false; 0 cutText ["", "PLAIN"]; GVAR(Protractor) = true; diff --git a/addons/weather/functions/fnc_displayWindInfo.sqf b/addons/weather/functions/fnc_displayWindInfo.sqf index e32bd0e530..c345bea01b 100644 --- a/addons/weather/functions/fnc_displayWindInfo.sqf +++ b/addons/weather/functions/fnc_displayWindInfo.sqf @@ -26,7 +26,7 @@ if (vehicle ACE_player != ACE_player) exitWith { true }; [] spawn { 2 cutText ["", "PLAIN"]; - GVAR(Protractor) = false; + EGVAR(advanced_ballistics,Protractor) = false; 1 cutText ["", "PLAIN"]; GVAR(WindInfo) = true;