made a real terrain type for it; still not quite right though. will crash on snow maps atm too.
This commit is contained in:
@@ -9,7 +9,7 @@ namespace OpenRa.Traits
|
||||
public readonly int[] SpawnOffset = null;
|
||||
public readonly string[] Produces = { };
|
||||
|
||||
public object Create(Actor self) { return new Production(self); }
|
||||
public virtual object Create(Actor self) { return new Production(self); }
|
||||
}
|
||||
|
||||
class Production : IIssueOrder, IResolveOrder, IProducer, ITags
|
||||
|
||||
@@ -3,9 +3,9 @@ using OpenRa.GameRules;
|
||||
|
||||
namespace OpenRa.Traits
|
||||
{
|
||||
class ProductionSurroundInfo : ITraitInfo
|
||||
class ProductionSurroundInfo : ProductionInfo
|
||||
{
|
||||
public object Create(Actor self) { return new ProductionSurround(self); }
|
||||
public override object Create(Actor self) { return new ProductionSurround(self); }
|
||||
}
|
||||
|
||||
class ProductionSurround : Production
|
||||
|
||||
Reference in New Issue
Block a user