Minor clean

fix upscale passing parameter
This commit is contained in:
Kurt
2020-05-27 11:23:05 -07:00
parent a5e7506e5e
commit d01e9e0980
2 changed files with 2 additions and 2 deletions

View File

@@ -57,7 +57,7 @@ public string GetGreeting(in int index)
return StringUtil.GetString(Data, offset, 10);
}
private int GetGreetingOffset(in int index)
private static int GetGreetingOffset(in int index)
{
if ((uint)index >= GreetingCount)
throw new ArgumentOutOfRangeException(nameof(index));

View File

@@ -20,7 +20,7 @@ public sealed class MapViewer : MapView, IDisposable
private readonly int[] PixelsBackgroundMapX;
private readonly Bitmap BackgroundMap;
public MapViewer(MapManager m, int scale) : base(m)
public MapViewer(MapManager m, int scale) : base(m, scale)
{
var l1 = m.Items.Layer1;
PixelsItemAcre1 = new int[l1.GridWidth * l1.GridHeight];