Change renderables to class to avoid boxing
This commit is contained in:
@@ -15,7 +15,7 @@ using OpenRA.Primitives;
|
||||
|
||||
namespace OpenRA.Mods.Common.Graphics
|
||||
{
|
||||
public struct ContrailRenderable : IRenderable, IFinalizedRenderable
|
||||
public class ContrailRenderable : IRenderable, IFinalizedRenderable
|
||||
{
|
||||
public int Length { get { return trail.Length; } }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user