Skip to content

Commit 729f5da

Browse files
committed
Fix teleporting cargo with latest ACE
1 parent 954b295 commit 729f5da

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

addons/main/script_version.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#define MAJOR 1
22
#define MINOR 0
3-
#define PATCHLVL 7
3+
#define PATCHLVL 8
44
#define BUILD 0

addons/slingload/functions/fnc_rigCargo.sqf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ if (damage _cargo == 1) then {
4343
};
4444

4545
_apexFitting = createVehicle ["slr_slingload_apexFitting", [0,0,0], [], 0, "CAN_COLLIDE"];
46-
_apexFitting setPosWorld (_cargo modelToWorldVisualWorld (boundingBoxReal _cargo # 1));
46+
_apexFitting attachTo [_cargo, boundingBoxReal _cargo # 1];
47+
detach _apexFitting;
4748
_apexFitting allowDamage false;
4849
_apexFitting disableCollisionWith _cargo;
4950
_apexFitting disableCollisionWith _unit;

0 commit comments

Comments
 (0)