Let Mobile's CanEnterCell consider ToSubCell
This commit is contained in:
@@ -501,7 +501,7 @@ namespace OpenRA.Mods.Common.Traits
|
|||||||
|
|
||||||
public bool CanEnterCell(CPos cell, Actor ignoreActor = null, BlockedByActor check = BlockedByActor.All)
|
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
|
#endregion
|
||||||
|
|||||||
Reference in New Issue
Block a user