Add World parameter to Util.BetweenCells.

This commit is contained in:
Paul Chote
2013-09-17 21:53:18 +12:00
parent 086ec07eb6
commit b6d1d26eeb
2 changed files with 5 additions and 5 deletions

View File

@@ -65,7 +65,7 @@ namespace OpenRA.Traits
return a / step;
}
public static WPos BetweenCells(CPos from, CPos to)
public static WPos BetweenCells(World w, CPos from, CPos to)
{
return WPos.Lerp(from.CenterPosition, to.CenterPosition, 1, 2);
}