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

@@ -11,6 +11,7 @@
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using OpenRA.Graphics;
using OpenRA.Traits;
@@ -50,5 +51,10 @@ namespace OpenRA.Mods.Common.Traits.Render
return r.Select(a => a.OffsetBy(worldVisualOffset));
}
IEnumerable<Rectangle> IRenderModifier.ModifyScreenBounds(Actor self, WorldRenderer wr, IEnumerable<Rectangle> bounds)
{
return bounds;
}
}
}