From ae586e17700534b5746ea8b5a06335d376a702af Mon Sep 17 00:00:00 2001 From: sethduda Date: Mon, 21 Mar 2016 15:52:00 -0400 Subject: [PATCH] Merging exile changes, adding remoteExecCall back --- .../functions/fn_advancedTowingInit.sqf | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/addons/SA_AdvancedTowing/functions/fn_advancedTowingInit.sqf b/addons/SA_AdvancedTowing/functions/fn_advancedTowingInit.sqf index 7252588..be45ff7 100644 --- a/addons/SA_AdvancedTowing/functions/fn_advancedTowingInit.sqf +++ b/addons/SA_AdvancedTowing/functions/fn_advancedTowingInit.sqf @@ -10,8 +10,6 @@ The above copyright notice and this permission notice shall be included in all c THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -//{ - #define SA_Find_Surface_ASL_Under_Position(_object,_positionAGL,_returnSurfaceASL,_canFloat) \ _objectASL = AGLToASL (_object modelToWorldVisual (getCenterOfMass _object)); \ _surfaceIntersectStartASL = [_positionAGL select 0, _positionAGL select 1, (_objectASL select 2) + 1]; \ @@ -40,11 +38,13 @@ SA_Find_Surface_ASL_Under_Position(_object, (_object modelToWorldVisual _modelOf SA_Find_Surface_ASL_Under_Model(_object,_modelOffset,_returnSurfaceAGL,_canFloat); \ _returnSurfaceAGL = ASLtoAGL _returnSurfaceAGL; +{ + diag_log "Advanced Towing Loading..."; -//if(!isNil "SA_TOW_INIT") exitWith {}; +if(!isNil "SA_TOW_INIT") exitWith {}; -//SA_TOW_INIT = true; +SA_TOW_INIT = true; SA_Simulate_Towing = { @@ -594,5 +594,5 @@ if(!isDedicated) then { diag_log "Advanced Towing Loaded"; -//} remoteExecCall ["bis_fnc_call", 0,true]; +} remoteExecCall ["bis_fnc_call", 0,true];