Prevent movement pausing at invalid position.

This commit is contained in:
Paul Chote
2019-10-18 22:52:31 +01:00
committed by reaperrr
parent ae34410c80
commit 69970d42f3
8 changed files with 84 additions and 49 deletions

View File

@@ -184,6 +184,11 @@ namespace OpenRA.Mods.Common.Traits
public bool TurnToMove;
public bool IsBlocking { get; private set; }
public bool IsMovingBetweenCells
{
get { return FromCell != ToCell; }
}
#region IFacing
[Sync]
public int Facing