Add Game.Zoom for remaining engine stuff.
This commit is contained in:
@@ -33,6 +33,11 @@ namespace OpenRA
|
||||
|
||||
public static ModData modData;
|
||||
static WorldRenderer worldRenderer;
|
||||
public static float Zoom
|
||||
{
|
||||
get { return worldRenderer.Viewport.Zoom; }
|
||||
set { worldRenderer.Viewport.Zoom = value; }
|
||||
}
|
||||
|
||||
public static Viewport viewport;
|
||||
public static Settings Settings;
|
||||
|
||||
Reference in New Issue
Block a user