summaryrefslogtreecommitdiff
path: root/StardewModdingAPI
diff options
context:
space:
mode:
Diffstat (limited to 'StardewModdingAPI')
-rw-r--r--StardewModdingAPI/Inheritance/SGame.cs13
1 files changed, 2 insertions, 11 deletions
diff --git a/StardewModdingAPI/Inheritance/SGame.cs b/StardewModdingAPI/Inheritance/SGame.cs
index c7ad1436..1389ef22 100644
--- a/StardewModdingAPI/Inheritance/SGame.cs
+++ b/StardewModdingAPI/Inheritance/SGame.cs
@@ -460,11 +460,13 @@ namespace StardewModdingAPI.Inheritance
QueueDebugMessage("FPS: " + FramesPerSecond);
UpdateEventCalls();
+ /*
if (ZoomLevelIsOne)
{
options.zoomLevel = 0.99f;
InvokeBasePrivateInstancedMethod("Window_ClientSizeChanged", null, null);
}
+ */
if (FramePressedKeys.Contains(Keys.F3))
{
@@ -1160,17 +1162,6 @@ namespace StardewModdingAPI.Inheritance
//base.Draw(gameTime);
- /*try
- {
- BaseBaseDraw bbd = (BaseBaseDraw) Delegate.CreateDelegate(typeof (BaseBaseDraw), Program.gamePtr, "Draw");
- bbd.GetType().BaseType.BaseType.GetField("_target", BindingFlags.Instance | BindingFlags.NonPublic).SetValue(bbd, this);
- bbd();
- }
- catch(Exception ex)
- {
- Log.Error(ex);
- }*/
-
spriteBatch.Begin(SpriteSortMode.FrontToBack, BlendState.AlphaBlend, SamplerState.PointClamp, null, null);
if (eventUp && currentLocation.currentEvent != null)
{