From 7a7b692a0864353815cb60d3e1fbef09df4e4352 Mon Sep 17 00:00:00 2001 From: Vdauphin Date: Sun, 2 Jun 2019 13:56:29 +0200 Subject: [PATCH] ASLTOATL add a shift for some reason --- .../core/fnc/common/create_composition.sqf | 2 +- =BTC=co@30_Hearts_and_Minds.Altis/core/fnc/side/mines.sqf | 2 +- =BTC=co@30_Hearts_and_Minds.Altis/core/fnc/side/supply.sqf | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/=BTC=co@30_Hearts_and_Minds.Altis/core/fnc/common/create_composition.sqf b/=BTC=co@30_Hearts_and_Minds.Altis/core/fnc/common/create_composition.sqf index d2c37a860..75208c474 100644 --- a/=BTC=co@30_Hearts_and_Minds.Altis/core/fnc/common/create_composition.sqf +++ b/=BTC=co@30_Hearts_and_Minds.Altis/core/fnc/common/create_composition.sqf @@ -42,6 +42,6 @@ _array apply { _obj setDir (_dir + _setdir); _obj setVectorUp surfaceNormal position _obj; - _obj setPosWorld getPosWorld _obj; + _obj setPosASL _final; _obj; }; diff --git a/=BTC=co@30_Hearts_and_Minds.Altis/core/fnc/side/mines.sqf b/=BTC=co@30_Hearts_and_Minds.Altis/core/fnc/side/mines.sqf index efaf8ce04..1a02516d3 100644 --- a/=BTC=co@30_Hearts_and_Minds.Altis/core/fnc/side/mines.sqf +++ b/=BTC=co@30_Hearts_and_Minds.Altis/core/fnc/side/mines.sqf @@ -23,7 +23,7 @@ private _useful = btc_city_all select {!((_x getVariable ["type", ""]) in ["Name if (_useful isEqualTo []) then {_useful = + btc_city_all;}; private _city = selectRandom _useful; -private _pos = [getPos _city, 0, 500, 30, 0, 60 * (pi / 180), 0] call BIS_fnc_findSafePos; +private _pos = [getPos _city, 0, 500, 30, false] call btc_fnc_findsafepos; btc_side_aborted = false; btc_side_done = false; diff --git a/=BTC=co@30_Hearts_and_Minds.Altis/core/fnc/side/supply.sqf b/=BTC=co@30_Hearts_and_Minds.Altis/core/fnc/side/supply.sqf index 7c8f9250e..6d868bede 100644 --- a/=BTC=co@30_Hearts_and_Minds.Altis/core/fnc/side/supply.sqf +++ b/=BTC=co@30_Hearts_and_Minds.Altis/core/fnc/side/supply.sqf @@ -25,7 +25,7 @@ if (_useful isEqualTo []) then {_useful = + btc_city_all;}; private _city = selectRandom _useful; private _pos = [getPos _city, 100] call btc_fnc_randomize_pos; -_pos = [_pos, 0, 300, 20, 0, 60 * (pi / 180), 0] call BIS_fnc_findSafePos; +_pos = [_pos, 0, 300, 20, false] call btc_fnc_findsafepos; btc_side_aborted = false; btc_side_done = false;