homing weapons more or less work now

This commit is contained in:
Chris Forbes
2009-12-06 21:19:02 +13:00
parent 5b970c499b
commit 3d457c397d
15 changed files with 211 additions and 61 deletions

View File

@@ -5,6 +5,7 @@ using IjwFramework.Types;
using System.Collections.Generic;
using OpenRa.Game.Traits;
using OpenRa.Game.Support;
using OpenRa.Game.Effects;
namespace OpenRa.Game.Graphics
{
@@ -61,7 +62,7 @@ namespace OpenRa.Game.Graphics
.Select(u => u.traits.Get<Traits.RenderWarFactory>()))
DrawSpriteList(rect, a.RenderRoof(a.self));
foreach (IEffect e in Game.world.Effects)
foreach (var e in Game.world.Effects)
DrawSpriteList(rect, e.Render());
uiOverlay.Draw();