Add comment in Mobile

This isn't obvious to people not entirely familiar
with the code.
This commit is contained in:
reaperrr
2021-07-24 15:52:11 +02:00
committed by teinarss
parent 777a927c04
commit 58f55b808a

View File

@@ -804,6 +804,7 @@ namespace OpenRA.Mods.Common.Traits
CPos? ClosestGroundCell()
{
// Creating a new CPos serves to reset a potential custom layer
var above = new CPos(TopLeft.X, TopLeft.Y);
if (CanEnterCell(above))
return above;