Add a ReturnToGroundLayerOnIdle flag to CustomMovementLayers
Co-authored-by: Mazar Farran <farranmazar@gmail.com> Co-authored-by: Paul Chote <paul@chote.net>
This commit is contained in:
committed by
reaperrr
parent
8fc483b30b
commit
0bd00d3b7c
@@ -64,6 +64,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
bool ICustomMovementLayer.EnabledForActor(ActorInfo a, LocomotorInfo li) { return li is SubterraneanLocomotorInfo; }
|
||||
byte ICustomMovementLayer.Index { get { return CustomMovementLayerType.Subterranean; } }
|
||||
bool ICustomMovementLayer.InteractsWithDefaultLayer { get { return false; } }
|
||||
bool ICustomMovementLayer.ReturnToGroundLayerOnIdle { get { return true; } }
|
||||
|
||||
WPos ICustomMovementLayer.CenterOfCell(CPos cell)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user