Add IRenderModifier.ModifyScreenBounds to support WithShadow.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user