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

@@ -10,6 +10,7 @@
#endregion
using System.Collections.Generic;
using System.Drawing;
using OpenRA.Graphics;
using OpenRA.Traits;
@@ -49,5 +50,10 @@ namespace OpenRA.Mods.Common.Traits
.AsDecoration();
}
}
IEnumerable<Rectangle> IRenderModifier.ModifyScreenBounds(Actor self, WorldRenderer wr, IEnumerable<Rectangle> bounds)
{
return bounds;
}
}
}