Use localized side strings

This commit is contained in:
SilentSpike 2015-07-24 15:53:08 +01:00
parent eaeda2667c
commit 8ef6364b59
3 changed files with 3 additions and 3 deletions

View File

@ -320,7 +320,7 @@ switch (toLower _mode) do {
_cachedSides = [];
{
_grp = group _x;
_side = WFSideText side _grp;
_side = [side _grp] call BIS_fnc_sideName;
// Use correct side node
if !(_side in _cachedSides) then {

View File

@ -38,7 +38,7 @@ if (GVAR(camMode) == 0) then {
_speed = format ["%1 m/s", floor(GVAR(camSpeed) * 100) * 0.01];
} else {
_vision = format ["%1 m", floor(getPosASL GVAR(camUnit) select 2)];
_fov = WFSideText (group GVAR(camUnit));
_fov = [side group GVAR(camUnit)] call BIS_fnc_sideName;
_speed = format ["%1 km/h", floor(speed GVAR(camUnit)) max 0];
};

View File

@ -47,7 +47,7 @@ if (_newMode == 0) then { // Free
// Preserve camUnit value for consistency when manually changing view
GVAR(camera) cameraEffect ["internal", "back"];
// Switch to player to stop AI group chat
// Switch to camera to stop AI group chat
GVAR(camera) switchCamera "internal";
clearRadio;