mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Map - Fix ambient light effect flicking (#6313)
* Map - Fix ambient light effect flicking * Remove format * formating
This commit is contained in:
parent
e9af086454
commit
ab23f4e4dc
@ -10,7 +10,7 @@
|
||||
* 1: Color of the overlay <ARRAY>
|
||||
*
|
||||
* Example:
|
||||
* call ACE_map_fnc_determineMapLight
|
||||
* [player] call ACE_map_fnc_determineMapLight
|
||||
*
|
||||
* Public: No
|
||||
*/
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user