missed underscore

This commit is contained in:
lambdatiger 2024-01-09 17:36:36 -06:00
parent a9a5a4a9ba
commit 210a876c0c

View File

@ -59,7 +59,7 @@ if (GVAR(spallEnabled) && {_shouldSpall}) then
{
params ["_proj", "_hitObj", "",
"_posASL", "_vel", "", "",
"", "surfType"
"", "_surfType"
];
private _shotPrnt = getShotParents _proj;
private _ammo = typeOf _proj;
@ -67,12 +67,12 @@ if (GVAR(spallEnabled) && {_shouldSpall}) then
if (isServer) then {
[
LINKFUNC(doSpallMomentum),
[_proj, _hitObj, _posASL, _vel, surfType, _shotPrnt, _ammo, _vUp]
[_proj, _hitObj, _posASL, _vel, _surfType, _shotPrnt, _ammo, _vUp]
] call CBA_fnc_execNextFrame;
} else {
[
QGVAR(spall_eh),
[_proj, _hitObj, _posASL, _vel, surfType, _shotPrnt, _ammo, _vUp]
[_proj, _hitObj, _posASL, _vel, _surfType, _shotPrnt, _ammo, _vUp]
] call CBA_fnc_serverEvent;
};
}