mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
fixed small mistakes in names and function calls
This commit is contained in:
parent
cd4d2a9cf6
commit
04e844fecf
@ -20,5 +20,6 @@ PREP(getMaterialInfo);
|
||||
PREP(getSpallInfo);
|
||||
PREP(getFragInfo);
|
||||
PREP(initMaterialCache);
|
||||
PREP(roundInitFrag);
|
||||
PREP(shouldFrag);
|
||||
PREP(shouldSpall);
|
||||
|
@ -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",
|
||||
|
@ -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;
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user