MoveViewport takes a float to allow for smoother panning. Added more scripting to shellmap
This commit is contained in:
committed by
Chris Forbes
parent
fc72066ed2
commit
ff7daf8727
2
OpenRA.Game/Game.cs
Normal file → Executable file
2
OpenRA.Game/Game.cs
Normal file → Executable file
@@ -43,7 +43,7 @@ namespace OpenRA
|
||||
public static Renderer Renderer;
|
||||
public static bool HasInputFocus = false;
|
||||
|
||||
public static void MoveViewport(int2 loc)
|
||||
public static void MoveViewport(float2 loc)
|
||||
{
|
||||
viewport.Center(loc);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user