removed leftover script profiler calls

This commit is contained in:
lambdatiger 2024-01-08 18:07:15 -06:00
parent bfb3fa851c
commit 14e7ef7cba
2 changed files with 2 additions and 2 deletions

View File

@ -63,7 +63,7 @@ diag_log text "//****************** fragCalcDump Beg ******************//";
if (_gC == 0) then {_gC = 2440;};
private _fragCount = getNumber (configFile >> "cfgAmmo" >> _ammo >> QGVAR(fragCount));
if (_fragCount == 0) then {_fragCount = 200; _warn = true};
profilerLog (str (sqrt (_fragCount / (4 * pi * 0.005))));
private _velocity = 0.8 * _gC * sqrt (_c /(_m + _c * _k));
// number of shrapnel to send a direction
private _count = ceil (random (sqrt (_m / 1000)));

View File

@ -25,7 +25,7 @@ if ((isNil "_lPosASL") || {!(_lPosASL isEqualTypeArray [0,0,0])}) exitWith {
};
private _vel = if (alive _projectile) then {
_velocity _projectile;
velocity _projectile;
} else {
[0, 0, 0]
};