mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 20:13:13 +03:00
Remove some unnecessary translations
Using "Wait for the previous action to complete to perform another" is more accurate in these cases, because dayz_actionInProgress could have been set by any action, not necessarily the same one.
This commit is contained in:
9
SQF/dayz_code/compile/fn_getPos.sqf
Normal file
9
SQF/dayz_code/compile/fn_getPos.sqf
Normal file
@@ -0,0 +1,9 @@
|
||||
private "_pos";
|
||||
|
||||
_pos = getPosASL (_this select 0);
|
||||
|
||||
if !(surfaceIsWater _pos) then {
|
||||
_pos = ASLToATL _pos;
|
||||
};
|
||||
|
||||
_pos
|
||||
@@ -1,11 +0,0 @@
|
||||
private "_pos";
|
||||
|
||||
//if (isNil {_this select 0}) exitWith {[0,0,0]};
|
||||
_thingy = _this select 0;
|
||||
_pos = getPosASL _thingy;
|
||||
|
||||
if !(surfaceIsWater _pos) then {
|
||||
_pos = ASLToATL _pos;
|
||||
};
|
||||
|
||||
_pos
|
||||
Reference in New Issue
Block a user