Skip to content

Commit

Permalink
Pass map gestures draw by reference (#4914)
Browse files Browse the repository at this point in the history
  • Loading branch information
PabstMirror authored and thojkooi committed Mar 13, 2017
1 parent 0c47985 commit 19e1a1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/map_gestures/functions/fnc_receiverInit.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ if (!isNil QGVAR(DrawMapHandlerID)) then {
(findDisplay 12 displayCtrl 51) ctrlRemoveEventHandler ["Draw", GVAR(DrawMapHandlerID)];
GVAR(DrawMapHandlerID) = nil;
};
GVAR(DrawMapHandlerID) = findDisplay 12 displayCtrl 51 ctrlAddEventHandler ["Draw", FUNC(drawMapGestures)];
GVAR(DrawMapHandlerID) = findDisplay 12 displayCtrl 51 ctrlAddEventHandler ["Draw", {call FUNC(drawMapGestures)}];

0 comments on commit 19e1a1f

Please sign in to comment.