From b6c278e7d3277d7af3e562448c9ce4de7d3e6493 Mon Sep 17 00:00:00 2001 From: commy2 Date: Tue, 7 Apr 2015 22:33:35 +0200 Subject: [PATCH] fix using efunc vs func --- addons/map/functions/fnc_determineMapLight.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/map/functions/fnc_determineMapLight.sqf b/addons/map/functions/fnc_determineMapLight.sqf index 03a37403a9..fbc847c313 100644 --- a/addons/map/functions/fnc_determineMapLight.sqf +++ b/addons/map/functions/fnc_determineMapLight.sqf @@ -86,7 +86,7 @@ TRACE_1("Player is on foot or in an open vehicle",""); // Check if player is near a campfires, streetlamps, units with flashlights, vehicles with lights on, etc. - 40m { - _lightLevel = _lightLevel max ([_unit, _x] call FUNC(lightIntensityFromObject)); + _lightLevel = _lightLevel max ([_unit, _x] call EFUNC(common,lightIntensityFromObject)); } forEach nearestObjects [_unit, ["All"], 40];