Skip to content

Commit

Permalink
Merge pull request #1663 from Vdauphin/fix-siderepair
Browse files Browse the repository at this point in the history
FIX: Side mission repair errors since ACE 3.18.0
  • Loading branch information
Vdauphin authored Oct 17, 2024
2 parents fc690fb + ec24932 commit d15eb67
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ if (_roads isNotEqualTo []) then {_pos = getPos (selectRandom _roads);};

private _veh_type = selectRandom btc_civ_type_veh;
private _veh = createVehicle [_veh_type, _pos, [], 0, "NONE"];
(_veh call ace_repair_fnc_getWheelHitPointsWithSelections) params ["_wheelHitPoints", "_wheelHitPointSelections"];
(_veh call ace_common_fnc_getWheelHitPointsWithSelections) params ["_wheelHitPoints", "_wheelHitPointSelections"];
_veh setDir (random 360);
_veh setDamage 0.7;
private _damagedWheel = 1 + round random (count _wheelHitPointSelections - 1);
Expand Down

0 comments on commit d15eb67

Please sign in to comment.