fix additional bracket, formatting

This commit is contained in:
commy2 2015-09-18 19:40:48 +02:00
parent a18f63d861
commit 8704cd0321
2 changed files with 3 additions and 3 deletions

View File

@ -24,7 +24,7 @@ if (_vehicle == _unit) exitWith {false};
if (speed _vehicle > 1 || getPos _vehicle select 2 > 2) exitWith {false};
private "_emptyPos";
_emptyPos = (getPos _vehicle) findEmptyPosition [0, 10, typeof _unit];
_emptyPos = (getPos _vehicle) findEmptyPosition [0, 10, typeof _unit]; // @todo to small?
if (count _emptyPos == 0) exitWith {false};

View File

@ -20,7 +20,7 @@ private ["_validVehiclestate", "_emptyPos", "_loaded"];
_validVehiclestate = true;
if (_vehicle isKindOf "Ship" ) then {
if (_vehicle isKindOf "Ship") then {
if (speed _vehicle > 1 || {getPos _vehicle select 2 > 2}) then {
_validVehiclestate = false;
};
@ -45,7 +45,7 @@ if (_vehicle isKindOf "Ship" ) then {
TRACE_1("Vehicle Ground Check", isTouchingGround _vehicle);
_emptyPos = (ASLToAGL getPosASL _vehicle) findEmptyPosition [0, 13, typeof _unit]);
_emptyPos = (ASLToAGL getPosASL _vehicle) findEmptyPosition [0, 13, typeof _unit];
};
};