mirror of
https://github.com/kwsch/NHSE.git
synced 2026-08-24 19:46:05 -05:00
Minor clean
fix upscale passing parameter
This commit is contained in:
@@ -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));
|
||||
|
||||
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user