#157 explosions weren't taking altitude into account

This commit is contained in:
Chris Forbes
2010-10-16 09:30:32 +13:00
parent f28c8903aa
commit 999eef2ec9
3 changed files with 8 additions and 4 deletions

View File

@@ -44,7 +44,7 @@ namespace OpenRA.Mods.RA
if (explosionType != null)
world.AddFrameEndTask(
w => w.Add(new Explosion(w, args.dest, explosionType, isWater)));
w => w.Add(new Explosion(w, args.dest, explosionType, isWater, args.destAltitude)));
Sound.Play(GetImpactSound(warhead, isWater), args.dest);