From 7c7479be9b957f4cba115dfe45a78d81a25a98e2 Mon Sep 17 00:00:00 2001 From: eraser1 Date: Thu, 1 Sep 2016 16:34:17 -0500 Subject: [PATCH] whoops thanks SC --- .../addons/a3_dms/scripts/fn_SpawnNonPersistentVehicle.sqf | 6 +++--- README.md | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/@ExileServer/addons/a3_dms/scripts/fn_SpawnNonPersistentVehicle.sqf b/@ExileServer/addons/a3_dms/scripts/fn_SpawnNonPersistentVehicle.sqf index c5a8daa..bb8359f 100644 --- a/@ExileServer/addons/a3_dms/scripts/fn_SpawnNonPersistentVehicle.sqf +++ b/@ExileServer/addons/a3_dms/scripts/fn_SpawnNonPersistentVehicle.sqf @@ -65,9 +65,9 @@ if (getNumber (configFile >> "CfgSettings" >> "VehicleSpawn" >> "thermalVision") _vehObj setFuel (0.75+(random 0.25)); _vehObj setDir (random 360); -if ((getTerrainHeightASL _vehpos)>0) then +if ((getTerrainHeightASL _position)>0) then { - _vehObj setVectorUp (surfaceNormal _vehpos); + _vehObj setVectorUp (surfaceNormal _position); }; _vehObj setVariable ["ExileMoney",0,true]; @@ -90,7 +90,7 @@ _vehObj enableSimulationGlobal false; if (DMS_DEBUG) then { - (format ["SpawnNonPersistentVehicle :: Created %1 at %2 with calling parameters: %3",_vehObj,_vehpos,_this]) call DMS_fnc_DebugLog; + (format ["SpawnNonPersistentVehicle :: Created %1 at %2 with calling parameters: %3",_vehObj,_position,_this]) call DMS_fnc_DebugLog; }; diff --git a/README.md b/README.md index 753f35d..6bb435c 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -![Arma 1.62](https://img.shields.io/badge/Arma-1.62-blue.svg) ![Exile 1.0.0 Potato](https://img.shields.io/badge/Exile-1.0.1%20Sweet Potato-C72651.svg) ![DMS Version](https://img.shields.io/badge/DMS%20Version-2016--09--01-blue.svg) ![Build Status](https://img.shields.io/badge/build-passing-brightgreen.svg) +![ArmA 1.62](https://img.shields.io/badge/Arma-1.62-blue.svg) ![Exile 1.0.0 Potato](https://img.shields.io/badge/Exile-1.0.1%20Sweet Potato-C72651.svg) ![DMS Version](https://img.shields.io/badge/DMS%20Version-2016--09--01-blue.svg) ![Build Status](https://img.shields.io/badge/build-passing-brightgreen.svg) # To the User: