remove +2 offset for check temperature, also fix the shade of grey, #431

This commit is contained in:
commy2 2015-04-10 17:48:21 +02:00
parent fc98e78a53
commit 5ff1d9863d

View File

@ -45,7 +45,7 @@ _color = [
00
];
_count = 2 + round (10 * _scaledTemperature);
_count = round (12 * _scaledTemperature);
_string = "";
for "_a" from 1 to _count do {
_string = _string + "|";
@ -59,7 +59,7 @@ for "_a" from (_count + 1) to 12 do {
_text = composeText [
_text,
[_string, [0.5, 0.5, 0.5]] call EFUNC(common,stringToColoredTex)t
[_string, [0.5, 0.5, 0.5]] call EFUNC(common,stringToColoredText)
];
_picture = getText (configFile >> "CfgWeapons" >> _weapon >> "picture");