Update fn_isSheltered to use vehicle player

This commit is contained in:
A Man
2022-05-27 09:49:45 +02:00
parent 7b3667c61e
commit 49a5c00d26
2 changed files with 5 additions and 4 deletions

View File

@@ -173,5 +173,5 @@ if (!isNull _insideBox) then { // bounding box detected
};
};
dayz_insideBuilding = [objNull, _insideBox] select _inside;
_dir call fnc_isSheltered;
[_unit, _dir] call fnc_isSheltered; // [vehicle player, direction of boundingBox if appropriate]
_inside