mirror of
https://github.com/kwsch/NHSE.git
synced 2026-08-27 21:34:15 -05:00
MInor clean
This commit is contained in:
@@ -118,7 +118,6 @@ private void CB_StructureType_SelectedIndexChanged(object sender, EventArgs e)
|
||||
|
||||
private void NUD_PlazaCoordinate_ValueChanged(object sender, EventArgs e) => DrawMap(Index);
|
||||
|
||||
|
||||
private void B_DumpAll_Click(object sender, EventArgs e)
|
||||
{
|
||||
using var sfd = new SaveFileDialog
|
||||
@@ -147,7 +146,7 @@ private void B_ImportAll_Click(object sender, EventArgs e)
|
||||
var path = ofd.FileName;
|
||||
var fi = new FileInfo(path);
|
||||
|
||||
int expect = MainSaveOffsets.BuildingCount * Building.SIZE;
|
||||
const int expect = MainSaveOffsets.BuildingCount * Building.SIZE;
|
||||
if (fi.Length != expect)
|
||||
{
|
||||
WinFormsUtil.Error($"Expected size (0x{expect:X}) != Input size (0x{fi.Length:X}", path);
|
||||
|
||||
@@ -430,6 +430,5 @@ private void Remove(Control sender, Func<int, int, int, int, int> removal)
|
||||
private void B_RemovePlacedItems_Click(object sender, EventArgs e) => Remove(B_RemovePlacedItems, Layer.RemoveAllPlacedItems);
|
||||
|
||||
private void PG_Tile_PropertyValueChanged(object s, PropertyValueChangedEventArgs e) => PG_Tile.SelectedObject = PG_Tile.SelectedObject;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user