Skip to content

Commit c5fba79

Browse files
committed
Merge remote-tracking branch 'refs/remotes/origin/dev'
2 parents 68e651a + 481673b commit c5fba79

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

addons/overthrow_main.pbo

68 Bytes
Binary file not shown.

addons/overthrow_main/functions/factions/NATO/fn_NATOGroundForces.sqf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,9 @@ if !(_pos isEqualType []) then {
4343
_dir = [_frompos,_ao] call BIS_fnc_dirTo;
4444
};
4545
_pos set [2,1];
46-
_veh = _vehtype createVehicle _pos;
46+
_veh = createVehicle [_vehtype, [0,0,1000+random 1000], [], 0, "CAN_COLLIDE"];
4747
_veh setDir (_dir);
48+
_veh setPosATL _pos;
4849
_veh setVariable ["garrison","HQ",false];
4950
clearWeaponCargoGlobal _veh;
5051
clearMagazineCargoGlobal _veh;

addons/overthrow_main/functions/save/fn_loadGame.sqf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ sleep 0.3;
150150
_name = _x select 5;
151151
};
152152
private _p = _pos;
153-
_veh = createVehicle [_type, [0,0,0], [], 0, "CAN_COLLIDE"];
153+
_veh = createVehicle [_type, [0,0,1000], [], 0, "CAN_COLLIDE"];
154154
_veh enableDynamicSimulation true;
155155
/*
156156
if !(_simulation) then {

0 commit comments

Comments
 (0)