Skip to content

Commit

Permalink
Merge pull request #3212 from jaj22/fix-placement-rays-error
Browse files Browse the repository at this point in the history
Fix script error for missing variable in placement rays rendering code
  • Loading branch information
Bob-Murphy authored Apr 10, 2024
2 parents 75b07ce + b629ca6 commit 4b9776c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion A3A/addons/garage/Core/fn_confirmPlacement.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ HR_GRG_EH_EF = addMissionEventHandler ["EachFrame", {

if (HR_GRG_renderPlacementRays) then { //Debug render
HR_GRG_dispSquare params ["_adjustment", "_square"];
_square params ["_a","_b"];
_square params ["_a","_b","_c"];
drawLine3D [HR_GRG_dispVehicle modelToWorldVisual _adjustment,HR_GRG_dispVehicle modelToWorldVisual (_adjustment vectorAdd [_a,0,0]), [0.9,0,0,1]];
drawLine3D [HR_GRG_dispVehicle modelToWorldVisual _adjustment,HR_GRG_dispVehicle modelToWorldVisual (_adjustment vectorAdd [0,_b,0]), [0.9,0,0,1]];
drawLine3D [HR_GRG_dispVehicle modelToWorldVisual _adjustment,HR_GRG_dispVehicle modelToWorldVisual (_adjustment vectorAdd [0,0,_c]), [0.9,0,0,1]];
Expand Down

0 comments on commit 4b9776c

Please sign in to comment.