Replace DomainIndex passability hack with Locomotor boolean
This commit is contained in:
@@ -29,6 +29,8 @@ namespace OpenRA.Mods.Common.Traits
|
||||
[Desc("Depth at which the subterranian condition is applied.")]
|
||||
public readonly WDist SubterraneanTransitionDepth = new WDist(-1024);
|
||||
|
||||
public override bool DisableDomainPassabilityCheck { get { return true; } }
|
||||
|
||||
public override object Create(ActorInitializer init) { return new SubterraneanLocomotor(init.Self, this); }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user