moved weapon report from bullet/missile to attackbase

This commit is contained in:
Chris Forbes
2009-12-13 12:26:49 +13:00
parent edc954cc8a
commit 42bd51f2b0
5 changed files with 4 additions and 10 deletions

View File

@@ -50,10 +50,6 @@ namespace OpenRa.Game.Effects
public void Tick()
{
if (t == 0)
if (!string.IsNullOrEmpty(Weapon.Report))
Sound.Play(Weapon.Report + ".aud");
t += 40;
if (t > TotalTime()) /* remove finished bullets */