formatting whitespace

This commit is contained in:
lambdatiger 2024-01-15 19:57:52 -06:00
parent 67ede76494
commit 572f9093f7

View File

@ -1,7 +1,8 @@
#include "..\script_component.hpp" #include "..\script_component.hpp"
/* /*
* Author: Lambda.Tiger * 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: * Arguments:
* 0: Object to draw the hit box of <OBJECT>: * 0: Object to draw the hit box of <OBJECT>:
@ -19,6 +20,7 @@ params [
["_object", objNull, [objNull]], ["_object", objNull, [objNull]],
["_addSphere", true, [true]] ["_addSphere", true, [true]]
]; ];
TRACE_2("Adding hitbox",_object,_addSphere);
if (isNull _object) exitWith {}; if (isNull _object) exitWith {};
@ -33,7 +35,7 @@ if (_object isKindOf "CAManBase") then {
} else { } else {
_box = boundingBoxReal [_object, "FireGeometry"]; _box = boundingBoxReal [_object, "FireGeometry"];
}; };
_box params ["_lowP","_upP"]; _box params ["_lowP", "_upP"];
// adjust with stance // adjust with stance
switch (stance _object) do { switch (stance _object) do {