fix compile failure in prev
This commit is contained in:
@@ -126,7 +126,7 @@ namespace OpenRA.Graphics
|
|||||||
|
|
||||||
public void Center(float2 loc)
|
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)
|
public void Center(IEnumerable<Actor> actors)
|
||||||
|
|||||||
Reference in New Issue
Block a user