From 008287406a70cd6a164533ef823580cb090f1a01 Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Wed, 5 May 2010 21:13:15 +1200 Subject: [PATCH] e3/dragon gets impact sound; bullet animation fixed --- OpenRA.Game/Effects/Bullet.cs | 2 ++ OpenRA.Game/Widgets/PostGameWidget.cs | 7 ++----- mods/ra/weapons.yaml | 1 + 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/OpenRA.Game/Effects/Bullet.cs b/OpenRA.Game/Effects/Bullet.cs index f6ba8a2df0..7630934168 100755 --- a/OpenRA.Game/Effects/Bullet.cs +++ b/OpenRA.Game/Effects/Bullet.cs @@ -75,6 +75,8 @@ namespace OpenRA.Effects { t += 40; + anim.Tick(); + if (t > TotalTime()) Explode( world ); if (Info.Trail != null) diff --git a/OpenRA.Game/Widgets/PostGameWidget.cs b/OpenRA.Game/Widgets/PostGameWidget.cs index 2b8bdfffb4..e79b649c4f 100644 --- a/OpenRA.Game/Widgets/PostGameWidget.cs +++ b/OpenRA.Game/Widgets/PostGameWidget.cs @@ -1,9 +1,6 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using OpenRA.Traits; using System.Drawing; +using System.Linq; +using OpenRA.Traits; namespace OpenRA.Widgets { diff --git a/mods/ra/weapons.yaml b/mods/ra/weapons.yaml index 8e3563dc03..ca51977fde 100644 --- a/mods/ra/weapons.yaml +++ b/mods/ra/weapons.yaml @@ -161,6 +161,7 @@ Dragon: InfDeath: 3 SmudgeType: Crater Damage: 60 + ImpactSound: kaboom12 Hellfire: ROF: 60