mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
removed leftover script profiler calls
This commit is contained in:
parent
bfb3fa851c
commit
14e7ef7cba
@ -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)));
|
||||
|
@ -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]
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user