brought back the MoveFlash

closes #2592
This commit is contained in:
Matthias Mailänder
2013-10-24 21:37:43 +02:00
parent 55b848f071
commit b1c3ac20bf
16 changed files with 104 additions and 11 deletions

View File

@@ -94,7 +94,12 @@ namespace OpenRA.Graphics
Zoom = Game.Settings.Graphics.PixelDouble ? 2 : 1;
}
public CPos ViewToWorld(int2 view)
public WPos ViewToWorldPosition(int2 view)
{
return worldRenderer.Position(ViewToWorldPx(view));
}
public CPos ViewToWorldCellPosition(int2 view)
{
return worldRenderer.Position(ViewToWorldPx(view)).ToCPos();
}