Skip to content

Commit

Permalink
Merge pull request #119 from formtapez/kaufpadposi
Browse files Browse the repository at this point in the history
* fixed vehicle placement
  • Loading branch information
Frozen-byte authored Mar 4, 2021
2 parents 002596b + 638b094 commit 7cbb90a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion addons/OPT/SHOP/fn_create.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion addons/OPT/macros.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#define MAJOR 0
#define MINOR 1
#define PATCHLVL 5
#define BUILD 84
#define BUILD 85

#ifdef VERSION
#undef VERSION
Expand Down

0 comments on commit 7cbb90a

Please sign in to comment.