Skip to content

Commit a9d4bc3

Browse files
Common - Switch to CBA_fnc_addBISPlayerEventHandler (#10183)
* Common - Switch to `CBA_fnc_addBISPlayerEventHandler` * Update XEH_postInit.sqf --------- Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
1 parent a74d8a0 commit a9d4bc3

File tree

4 files changed

+2
-67
lines changed

4 files changed

+2
-67
lines changed

addons/common/XEH_PREP.hpp

-1
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,6 @@ PREP(addActionEventHandler);
271271
PREP(addActionMenuEventHandler);
272272
PREP(addExplosionEventHandler);
273273
PREP(addMapMarkerCreatedEventHandler);
274-
PREP(addPlayerEH);
275274

276275
PREP(removeActionEventHandler);
277276
PREP(removeActionMenuEventHandler);

addons/common/functions/fnc_addPlayerEH.sqf

-63
This file was deleted.

addons/safemode/XEH_postInit.sqf

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,4 @@ if (!hasInterface) exitWith {};
4242
[_unit, "DefaultAction", _ehID] call EFUNC(common,removeActionEventHandler);
4343

4444
_unit setVariable [QGVAR(actionID), nil];
45-
}] call EFUNC(common,addPlayerEH);
45+
}] call CBA_fnc_addBISPlayerEventHandler;

addons/ui/XEH_clientInit.sqf

+1-2
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,7 @@ GVAR(elementsSet) = createHashMap;
4848
}] call CBA_fnc_addEventHandler;
4949
}] call CBA_fnc_addEventHandler;
5050

51-
[QUOTE(ADDON), "AnimChanged", LINKFUNC(onAnimChanged), true] call EFUNC(common,addPlayerEH);
52-
51+
[QUOTE(ADDON), "AnimChanged", LINKFUNC(onAnimChanged), true] call CBA_fnc_addBISPlayerEventHandler;
5352

5453
["ACE3 Common", QGVAR(hideHud), localize LSTRING(hideHud), {
5554
GVAR(hideHud) = !(missionNamespace getVariable [QGVAR(hideHud), false]);

0 commit comments

Comments
 (0)