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

@@ -107,6 +107,11 @@ namespace OpenRA.Graphics
foreach (var t in a.TraitsImplementing<IPostRender>())
t.RenderAfterWorld(this, a);
foreach (var a in world.Selection.Actors)
if (!a.Destroyed)
foreach (var t in a.TraitsImplementing<IPostRenderSelection>())
t.RenderAfterWorld(this, a);
if (world.OrderGenerator != null)
world.OrderGenerator.RenderAfterWorld(this, world);