Skip to content

Commit 8702204

Browse files
authored
Scopes - Take muzzle into account for cache (#11279)
Take muzzle into account for cache
1 parent d43bb25 commit 8702204

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

addons/scopes/functions/fnc_calculateZeroAngleCorrection.sqf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ params ["_oldZeroRange", "_newZeroRange", "_boreHeight"/*in cm*/, "_weapon", "_m
2727
// When FFV from vehicles currentZeroing will report 0 so just bail
2828
if (_oldZeroRange <= 0) exitWith { 0 };
2929

30-
GVAR(zeroAngleCorrectionData) getOrDefaultCall [[_oldZeroRange, _newZeroRange, _boreHeight, _weapon, _ammo, _magazine, _advancedBallistics], {
30+
GVAR(zeroAngleCorrectionData) getOrDefaultCall [_this, {
3131
private _airFriction = getNumber (configFile >> "CfgAmmo" >> _ammo >> "airFriction");
3232
private _initSpeed = getNumber(configFile >> "CfgMagazines" >> _magazine >> "initSpeed");
3333
private _initSpeedCoef = getNumber(configFile >> "CfgWeapons" >> _weapon >> "initSpeed");

0 commit comments

Comments
 (0)