Added asterix (*) prefix to distances in yards on the main page

This commit is contained in:
ulteq 2015-04-19 11:14:18 +02:00
parent de5c5139c0
commit 4235163801
2 changed files with 4 additions and 4 deletions

View File

@ -36,10 +36,10 @@ if (GVAR(currentUnit) != 2) then {
} else {
ctrlSetText [130, Str(Round(GVAR(workingMemory) select 1))];
};
if (GVAR(currentUnit) != 1) then {
ctrlSetText [140, Str(Round(GVAR(workingMemory) select 2))];
if (GVAR(currentUnit) == 1) then {
ctrlSetText [140, format["*%1", Round((GVAR(workingMemory) select 2) * 1.0936133)]];
} else {
ctrlSetText [140, Str(Round((GVAR(workingMemory) select 2) * 1.0936133))];
ctrlSetText [140, Str(Round(GVAR(workingMemory) select 2))];
};
[] call FUNC(update_scope_unit);

View File

@ -36,7 +36,7 @@ if (GVAR(currentUnit) != 2) then {
ctrlSetText [330, Str(Round((GVAR(targetSpeed) select GVAR(currentTarget)) * 100) / 100)];
};
if (GVAR(currentUnit) == 1) then {
ctrlSetText [340, Str(Round((GVAR(targetRange) select GVAR(currentTarget)) * 1.0936133))];
ctrlSetText [340, format["*%1", Round((GVAR(workingMemory) select 2) * 1.0936133)]];
} else {
ctrlSetText [340, Str(Round((GVAR(targetRange) select GVAR(currentTarget))))];
};