mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-20 02:16:29 +03:00
Update fn_isSheltered to use vehicle player
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user