formatting, remove an obsolete private

This commit is contained in:
commy2 2015-09-18 14:32:58 +02:00
parent b0704e486f
commit f83dea6e01
2 changed files with 2 additions and 3 deletions

View File

@ -21,7 +21,7 @@
#define CANGETINDRIVER (isNull (driver _vehicle) || {!alive driver _vehicle}) && {!lockedDriver _vehicle} && {getNumber (_config >> "isUav") != 1}
#define CANGETINTURRETINDEX (isNull (_vehicle turretUnit _turret) || {!alive (_vehicle turretUnit _turret)}) && {!(_vehicle lockedTurret _turret)} && {getNumber (_config >> "isUav") != 1}
params ["_unit", "_vehicle", "_position", ["_checkDistance",false], ["_index",-1]];
params ["_unit", "_vehicle", "_position", ["_checkDistance", false], ["_index", -1]];
_position = toLower _position;

View File

@ -16,10 +16,9 @@
params ["_unit", "_target", ["_exceptions", []]];
private ["_exceptions", "_owner"];
_exceptions = [_exceptions, {toLower _this}] call FUNC(map);
private "_owner";
_owner = _target getVariable [QGVAR(owner), objNull];
// exit if the target is not free to interact