From 638b094b16988db1db699115c6b28fef483dfd22 Mon Sep 17 00:00:00 2001 From: formtapez Date: Thu, 4 Mar 2021 08:10:12 +0100 Subject: [PATCH] fixed vehicle placement --- addons/OPT/SHOP/fn_create.sqf | 2 +- addons/OPT/macros.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/OPT/SHOP/fn_create.sqf b/addons/OPT/SHOP/fn_create.sqf index 4a117bb8..ad60da9c 100644 --- a/addons/OPT/SHOP/fn_create.sqf +++ b/addons/OPT/SHOP/fn_create.sqf @@ -101,8 +101,8 @@ DFUNC(createOrder) = #define HEIGHT_OFFSET_WATER 0.2 //Objekt Erstellung - private _veh = createVehicle [_class, (position GVAR(order_box)), [], 0, "NONE"]; private _posi = getPosASL GVAR(order_box) vectorAdd [0, 0, HEIGHT_OFFSET_GROUND]; + private _veh = createVehicle [_class, _posi, [], 0, "NONE"]; _veh setdir getdir GVAR(order_box); _veh setPosASL _posi; diff --git a/addons/OPT/macros.hpp b/addons/OPT/macros.hpp index 6b75ad38..db6e4dd4 100644 --- a/addons/OPT/macros.hpp +++ b/addons/OPT/macros.hpp @@ -6,7 +6,7 @@ #define MAJOR 0 #define MINOR 1 #define PATCHLVL 5 -#define BUILD 84 +#define BUILD 85 #ifdef VERSION #undef VERSION