Add IRenderModifier.ModifyScreenBounds to support WithShadow.

This commit is contained in:
Paul Chote
2017-12-09 19:04:34 +00:00
committed by reaperrr
parent 86bfe28ade
commit fa65fef4d1
7 changed files with 55 additions and 3 deletions

View File

@@ -137,6 +137,11 @@ namespace OpenRA.Mods.Common.Traits
return SpriteRenderable.None;
}
IEnumerable<Rectangle> IRenderModifier.ModifyScreenBounds(Actor self, WorldRenderer wr, IEnumerable<Rectangle> bounds)
{
return bounds;
}
void ITick.Tick(Actor self)
{
if (!IsTraitDisabled)