From 572f9093f7c5b54130860b89b31aae44efccf77a Mon Sep 17 00:00:00 2001 From: lambdatiger Date: Mon, 15 Jan 2024 19:57:52 -0600 Subject: [PATCH] formatting whitespace --- addons/frag/functions/fnc_dev_trackHitBox.sqf | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/addons/frag/functions/fnc_dev_trackHitBox.sqf b/addons/frag/functions/fnc_dev_trackHitBox.sqf index d23776070b..79a5db05c7 100644 --- a/addons/frag/functions/fnc_dev_trackHitBox.sqf +++ b/addons/frag/functions/fnc_dev_trackHitBox.sqf @@ -1,7 +1,8 @@ #include "..\script_component.hpp" /* * Author: Lambda.Tiger - * Add a hit box outline to an object + * Add a hit box outline to an object, outdated for unit hits as they + * use hit-point locations * * Arguments: * 0: Object to draw the hit box of : @@ -19,6 +20,7 @@ params [ ["_object", objNull, [objNull]], ["_addSphere", true, [true]] ]; +TRACE_2("Adding hitbox",_object,_addSphere); if (isNull _object) exitWith {}; @@ -33,7 +35,7 @@ if (_object isKindOf "CAManBase") then { } else { _box = boundingBoxReal [_object, "FireGeometry"]; }; -_box params ["_lowP","_upP"]; +_box params ["_lowP", "_upP"]; // adjust with stance switch (stance _object) do {