Set third parameter after findSafePos

All other scripts using findSafePos either set the third parameter or
use a getPosATL/etc. instead before the position is saved to database.

Also partially reverted d6e78b2 since it is not needed.
This commit is contained in:
ebaydayz
2016-10-02 18:47:47 -04:00
parent 1af4cc070f
commit 4faa1cbaab
5 changed files with 3 additions and 6 deletions

View File

@@ -103,9 +103,6 @@ if(!_cancel) then {
_removed = ([player,_item] call BIS_fnc_invRemove);
if(_removed == 1) then {
//call dayz_forceSave;
_dir = round(direction player);
["Working",0,[20,40,15,0]] call dayz_NutritionSystem;
//wait a bit

View File

@@ -1106,8 +1106,6 @@ if (!isNull _cursorTarget && !_inVehicle && !_isPZombie && (player distance _cur
player removeAction s_player_repair_crtl;
s_player_repair_crtl = -1;
dayz_myCursorTarget = objNull;
//player removeAction s_player_forceSave;
//s_player_forceSave = -1;
player removeAction s_player_flipveh;
s_player_flipveh = -1;
player removeAction s_player_pushPlane;