fixed small mistakes in names and function calls

This commit is contained in:
lambdatiger 2024-07-16 22:40:13 -05:00
parent cd4d2a9cf6
commit 04e844fecf
4 changed files with 6 additions and 5 deletions

View File

@ -20,5 +20,6 @@ PREP(getMaterialInfo);
PREP(getSpallInfo);
PREP(getFragInfo);
PREP(initMaterialCache);
PREP(roundInitFrag);
PREP(shouldFrag);
PREP(shouldSpall);

View File

@ -12,7 +12,7 @@
if (!hasInterface) exitWith {};
["ace_firedPlayerVehicleNonLocal", LINKFUNC(dev_fired)] call CBA_fnc_addEventHandler;
["ace_firedNonPlayerVehicle", LINKFUNC(dev_fired)] call CBA_fnc_addEventHandler;
["ace_firedPlayerNonLocal", LINKFUNC(dev_fired)] call CBA_fnc_addEventHandler;
GVAR(dev_drawPFEH) = [LINKFUNC(dev_drawTrace), 0] call CBA_fnc_addPerFrameHandler;
[
"ace_interact_menu_newControllableObject",

View File

@ -129,6 +129,6 @@ systemChat ("spd: " + str (_speedChange * ACE_FRAG_SPALL_VELOCITY_INHERIT_COEFF)
TRACE_5("Calling event:",QUOTE(GLUE(ADDON,_)) + _material + _spawnSize,_lastVelocityNorm,_vectorUp,_speedChange,_shotParents);
[
FUNC(doSpallServer),
QGVAR(spallEvent),
[QUOTE(GLUE(ADDON,_)) + _material + _spawnSize, _lastVelocityNorm, _vectorUp, _speedChange, _shotParents]
] call CBA_fnc_serverEvent;

View File

@ -57,9 +57,9 @@ if (GVAR(spallEnabled) && {_ammo call FUNC(shouldSpall)}) then {
];
};
if !(GVAR(reflectionsEnabled) || GVAR(enabled)) exitWith {
TRACE_1("initExit No frag/reflections",_ammo);
TRACE_1("firedExit No frag/reflections",_ammo);
};
[_projectile, _ammo] call FUNC(roundInitFrag);
[_ammo, _projectile] call FUNC(roundInitFrag);
TRACE_1("initExit",_ammo);
TRACE_1("firedExit",_ammo);