Replace DomainIndex passability hack with Locomotor boolean

This commit is contained in:
reaperrr
2018-04-29 17:39:04 +02:00
committed by abcdefg30
parent 5364515004
commit e7fb32b09c
4 changed files with 7 additions and 2 deletions

View File

@@ -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); }
}