remove batch fail

This commit is contained in:
Chris Forbes
2010-08-19 18:10:38 +12:00
parent 1afcd2b98a
commit 53df4c4bfb
2 changed files with 6 additions and 3 deletions

View File

@@ -39,14 +39,18 @@ namespace OpenRA.Orders
{
foreach (var a in world.Selection.Actors)
foreach (var t in a.TraitsImplementing<IPreRenderSelection>())
t.RenderBeforeWorld(a);
t.RenderBeforeWorld(a);
Game.Renderer.Flush();
}
public void RenderAfterWorld( World world )
{
foreach (var a in world.Selection.Actors)
foreach (var t in a.TraitsImplementing<IPostRenderSelection>())
t.RenderAfterWorld(a);
t.RenderAfterWorld(a);
Game.Renderer.Flush();
}
public string GetCursor( World world, int2 xy, MouseInput mi )