mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fix Injured Sounds Not Playing At Altitudes Above 70 (#8212)
This commit is contained in:
parent
fdc3ab0784
commit
9d6843fdb3
@ -33,7 +33,7 @@ private _distance = if (_type == "hit") then {
|
|||||||
} else {
|
} else {
|
||||||
[10, 15, 20] select _severity;
|
[10, 15, 20] select _severity;
|
||||||
};
|
};
|
||||||
private _targets = allPlayers inAreaArray [getPosWorld _unit, _distance, _distance, 0, false, _distance];
|
private _targets = allPlayers inAreaArray [ASLToAGL getPosASL _unit, _distance, _distance, 0, false, _distance];
|
||||||
if (_targets isEqualTo []) exitWith {};
|
if (_targets isEqualTo []) exitWith {};
|
||||||
|
|
||||||
// Handle timeout
|
// Handle timeout
|
||||||
|
Loading…
Reference in New Issue
Block a user