Always render actor selection boxes.

This commit is contained in:
Paul Chote
2010-11-26 12:59:22 +13:00
parent a3861823c9
commit 8565b7be0c
3 changed files with 7 additions and 15 deletions

View File

@@ -90,12 +90,7 @@ namespace OpenRA.Orders
custom.RenderAfterWorld(wr, world);
return;
}
foreach (var a in world.Selection.Actors)
if (!a.Destroyed)
foreach (var t in a.TraitsImplementing<IPostRenderSelection>())
t.RenderAfterWorld( wr, a );
Game.Renderer.Flush();
}