couple errors

This commit is contained in:
eraser1 2016-06-29 16:49:12 -05:00
parent 3b75fd1a26
commit a7d4cfd2ca
2 changed files with 8 additions and 8 deletions

View File

@ -95,7 +95,13 @@ for "_attempts" from 1 to MAX_ATTEMPTS do
_isValidSpot = [_pos, _waterNearLimit, _minSurfaceNormal, _spawnZoneNearLimit, _traderZoneNearLimit, _missionNearLimit, _playerNearLimit, _territoryNearLimit] call DMS_fnc_IsValidPosition;
if (_isValidSpot) exitWith {};
if (_isValidSpot) exitWith
{
if (DMS_DEBUG) then
{
(format["FindSafePos :: Found mission position %1 in %2 attempts. _this: %3",_pos,_attempts,_this]) call DMS_fnc_DebugLog;
};
};
};
if !(_isValidSpot) exitWith
@ -106,10 +112,4 @@ if !(_isValidSpot) exitWith
_pos set [2,0];
if (DMS_DEBUG) then
{
(format["FindSafePos :: Found mission position %1 in %2 attempts. _this: %3",_pos,_attempts,_this]) call DMS_fnc_DebugLog;
};
_pos;

View File

@ -424,7 +424,7 @@ _unit setVariable
_unit setVariable
[
"DMS_AI_Respect",
missionNamespace getVariable [format ["DMS_%1_%2_RepGain",_AISide,_AIType],0]
missionNamespace getVariable [format ["DMS_%1_%2_RepGain",_side,_type],0]
];