fix compile failure in prev

This commit is contained in:
Chris Forbes
2010-10-25 09:14:22 +13:00
parent 10f5e68f7f
commit 2f962452e5

View File

@@ -126,7 +126,7 @@ namespace OpenRA.Graphics
public void Center(float2 loc)
{
scrollPosition = this.NormalizeScrollPosition(Game.CellSize*loc - screenSize / 2);
scrollPosition = this.NormalizeScrollPosition((Game.CellSize*loc - screenSize / 2).ToInt2());
}
public void Center(IEnumerable<Actor> actors)