mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Pass functions by "reference" to bis event handlers (#4898)
* Pass functions by "reference" to bis event handlers * Add Doc * Fix
This commit is contained in:
@ -34,7 +34,7 @@ switch (toLower _mode) do {
|
||||
[FUNC(handleUnits), 9, _display] call CBA_fnc_addPerFrameHandler;
|
||||
|
||||
// Handle 3D unit icons
|
||||
GVAR(iconHandler) = addMissionEventHandler ["Draw3D",FUNC(handleIcons)];
|
||||
GVAR(iconHandler) = addMissionEventHandler ["Draw3D", {call FUNC(handleIcons)}];
|
||||
|
||||
// Populate the help window
|
||||
private _help = (_display displayCtrl IDC_HELP) controlsGroupCtrl IDC_HELP_LIST;
|
||||
|
Reference in New Issue
Block a user