Removed Altitude and Latitude negation

This commit is contained in:
ulteq 2015-04-07 21:03:17 +02:00
parent 9fb640195a
commit 2a458f2e3d

View File

@ -11,8 +11,8 @@
*/
#include "script_component.hpp"
GVAR(Altitude) = -getNumber(configFile >> "CfgWorlds" >> worldName >> "elevationOffset");
GVAR(Latitude) = -getNumber(configFile >> "CfgWorlds" >> worldName >> "latitude");
GVAR(Altitude) = getNumber(configFile >> "CfgWorlds" >> worldName >> "elevationOffset");
GVAR(Latitude) = getNumber(configFile >> "CfgWorlds" >> worldName >> "latitude");
if (worldName in ["Chernarus", "Bootcamp_ACR", "Woodland_ACR", "utes"]) then { GVAR(Latitude) = 50; GVAR(Altitude) = 0; };
if (worldName in ["Altis", "Stratis"]) then { GVAR(Latitude) = 40; GVAR(Altitude) = 0; };