typos from last commit

This commit is contained in:
lambdatiger 2024-01-15 14:08:27 -06:00
parent a828ff9c98
commit 0f82f59955
3 changed files with 4 additions and 4 deletions

View File

@ -16,7 +16,7 @@
*/
{
_y params ["_posArray", "_color"]
_y params ["_posArray", "_color"];
if (count (_posArray) > 1) then {
for "_j" from 1 to count _posArray - 1 do {
drawLine3D [_posArray#(_j-1), _posArray#_j, _color];

View File

@ -38,7 +38,7 @@ diag_log text "//****************** fragCalcDump Beg ******************//";
private _shouldFrag = [_ammo] call FUNC(shouldFrag);
if (_nSkip || _logAll) then {
private _fragInfo = [_ammo] call FUNC(getFragInfo);
_fragInfo params ["_fragRange", "_fragMaxVelocity", "", "_modifiedFragCount"]
_fragInfo params ["_fragRange", "_fragMaxVelocity", "", "_modifiedFragCount"];
private _fragCount = 4 * pi* _modifiedFragCount;
private _indirectHitRange = getNumber (configFile >> "cfgAmmo" >> _ammo >> "indirectHitRange");
private _indirectHit = getNumber (configFile >> "cfgAmmo" >> _ammo >> "indirectHit");

View File

@ -17,7 +17,7 @@
*/
params [
["_object", objNull, [objNull]],
["_addSphere", true, [turretLocal]]
["_addSphere", true, [true]]
];
if (isNull _object) exitWith {};
@ -44,7 +44,7 @@ switch (true) do {
};
private _centerPoint = ASLToAGL getPosASL _object;
if (GVAR(dbgSphere) && {_addSphere && {isNull objectParent _object}}) then {
if (GVAR(dbgSphere) && {_addSphere && {isNull objectParent _object}}) then {
private _centerSphere = [getPosASL _object, "yellow"] call FUNC(dev_sphereDraw);
_centerSphere disableCollisionWith vehicle _object;
_centerSphere attachTo [_object, _object worldToModel _centerPoint];