From e423c81483bd3574b7f0b661b4c260e8f7e055ad Mon Sep 17 00:00:00 2001 From: icomrade Date: Wed, 17 Feb 2016 22:58:08 -0500 Subject: [PATCH] needs testing, but should fix #1558 --- SQF/dayz_code/actions/player_loadCrate.sqf | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/SQF/dayz_code/actions/player_loadCrate.sqf b/SQF/dayz_code/actions/player_loadCrate.sqf index 094c891ce..3a1e80252 100644 --- a/SQF/dayz_code/actions/player_loadCrate.sqf +++ b/SQF/dayz_code/actions/player_loadCrate.sqf @@ -53,8 +53,11 @@ if(_type == "weapon") then { if(_type == "backpack") then { _b0x1337 addBackpackCargoGlobal [_create,_qty]; }; - -_b0x1337 setPosATL _location; +if (surfaceIsWater _location) then { + _b0x1337 setPosASL _location; +} else { + _b0x1337 setPosATL _location; +}; player reveal _b0x1337;