Let Mobile's CanEnterCell consider ToSubCell

This commit is contained in:
abcdefg30
2019-10-12 12:21:56 +02:00
committed by teinarss
parent 4717e98c48
commit 25b7386f0d

View File

@@ -501,7 +501,7 @@ namespace OpenRA.Mods.Common.Traits
public bool CanEnterCell(CPos cell, Actor ignoreActor = null, BlockedByActor check = BlockedByActor.All)
{
return Info.CanEnterCell(self.World, self, cell, SubCell.FullCell, ignoreActor, check);
return Info.CanEnterCell(self.World, self, cell, ToSubCell, ignoreActor, check);
}
#endregion