Map - Fix ambient light effect flicking (#6313)

* Map - Fix ambient light effect flicking

* Remove format

* formating
This commit is contained in:
PabstMirror 2018-04-28 17:23:59 -05:00 committed by GitHub
parent e9af086454
commit ab23f4e4dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@
* 1: Color of the overlay <ARRAY>
*
* Example:
* call ACE_map_fnc_determineMapLight
* [player] call ACE_map_fnc_determineMapLight
*
* Public: No
*/

View File

@ -47,7 +47,7 @@ _colourList sort false;
private _maxColour = _colourList select 0;
//ambient colour fill
_mapCtrl drawIcon [format["#(rgb,8,8,3)color(%1,%2,%3,1)", _r / _maxColour, _g / _maxColour, _b / _maxColour], [1,1,1,_colourAlpha], _mapCentre, _screenSize, _screenSize, 0, "", 0];
_mapCtrl drawIcon ["#(rgb,8,8,3)color(1,1,1,1)", [_r / _maxColour, _g / _maxColour, _b / _maxColour, _colourAlpha], _mapCentre, _screenSize, _screenSize, 0, "", 0];
if (_flashlight == "") then {
//ambient shade fill