Correct side usage

This commit is contained in:
SilentSpike 2015-07-20 17:17:23 +01:00
parent 841f939012
commit 8509646f88
2 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@ if (GVAR(camMode) == 0) then {
_speed = format ["%1 m/s", GVAR(camSpeed)];
} else {
_focus = rank GVAR(camUnit);
_fov = WFSideText GVAR(camUnit);
_fov = WFSideText (group GVAR(camUnit));
_name = name GVAR(camUnit);
_speed = format ["%1 km/h", floor(speed GVAR(camUnit))];
};

View File

@ -40,7 +40,7 @@ _newUnits = [[],allPlayers,allUnits] select GVAR(filterUnits);
// Side setting filter
_sides = [];
_cond = [{_this == playerSide},{(_this getFriend playerSide) >= 0.6},{(_this getFriend playerSide) < 0.6},{true}] select GVAR(filterSides);
_cond = [{_this == (side group player)},{(_this getFriend (side group player)) >= 0.6},{(_this getFriend (side group player)) < 0.6},{true}] select GVAR(filterSides);
{
if (_x call _cond) then {
_sides pushBack _x;