replaced Dune 2000 AUD with original WAV

removed *.aud hard-coding everywhere
This commit is contained in:
Matthias Mailänder
2013-06-15 17:40:36 +02:00
parent 9fb98f04d4
commit cdeea80037
76 changed files with 294 additions and 279 deletions

View File

@@ -24,10 +24,10 @@ namespace OpenRA.Mods.RA
static string GetImpactSound(WarheadInfo warhead, bool isWater)
{
if (isWater && warhead.WaterImpactSound != null)
return warhead.WaterImpactSound + ".aud";
return warhead.WaterImpactSound;
if (warhead.ImpactSound != null)
return warhead.ImpactSound + ".aud";
return warhead.ImpactSound;
return null;
}
@@ -154,7 +154,7 @@ namespace OpenRA.Mods.RA
};
if (args.weapon.Report != null && args.weapon.Report.Any())
Sound.Play(args.weapon.Report.Random(attacker.World.SharedRandom) + ".aud", pos);
Sound.Play(args.weapon.Report.Random(attacker.World.SharedRandom), pos);
DoImpacts(args);
}