Skip to content

Commit 2b75dd7

Browse files
change "man" to "CAManBase" in doVehicleAssault (#431)
"man" contains ambient life, "CAManBase" does not
1 parent cf5edb6 commit 2b75dd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

addons/main/functions/VehicleAction/fnc_doVehicleAssault.sqf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ if (_buildings isNotEqualTo []) then {
4848
// add predicted location -- just to ensure shots fired!
4949
if (_buildings isEqualTo []) then {
5050
_predictedPos = ASLToAGL (ATLToASL _predictedPos);
51-
if ((nearestObjects [_predictedPos, ["house", "man"], 6]) isEqualTo []) then {_predictedPos set [2, 0.5]};
51+
if ((nearestObjects [_predictedPos, ["house", "CAManBase"], 6]) isEqualTo []) then {_predictedPos set [2, 0.5]};
5252
_buildings pushBack _predictedPos;
5353
};
5454

0 commit comments

Comments
 (0)