Introduce SoundType enum.
This commit is contained in:
@@ -60,7 +60,7 @@ namespace OpenRA.Mods.Common.Effects
|
||||
|
||||
pos = launchPos;
|
||||
if (weapon.Report != null && weapon.Report.Any())
|
||||
Game.Sound.Play(weapon.Report.Random(firedBy.World.SharedRandom), pos);
|
||||
Game.Sound.Play(SoundType.World, weapon.Report.Random(firedBy.World.SharedRandom), pos);
|
||||
|
||||
if (skipAscent)
|
||||
ticks = turn;
|
||||
|
||||
Reference in New Issue
Block a user