mirror of
https://github.com/AdAstra-LD/DS-Pokemon-Rom-Editor.git
synced 2026-05-23 21:37:12 -05:00
Fixed compile errors
This commit is contained in:
parent
2129448849
commit
0f6244ded7
|
|
@ -3660,7 +3660,7 @@ namespace DSPRE {
|
|||
return;
|
||||
}
|
||||
|
||||
currentMapFile.ImportBuildings(new FileStream(ib.FileName, FileMode.Open));
|
||||
currentMapFile.ImportBuildings(File.ReadAllBytes(ib.FileName));
|
||||
FillBuildingsBox();
|
||||
if (buildingsListBox.Items.Count > 0) buildingsListBox.SelectedIndex = 0;
|
||||
|
||||
|
|
@ -4192,7 +4192,7 @@ namespace DSPRE {
|
|||
return;
|
||||
}
|
||||
|
||||
currentMapFile.ImportPermissions(new FileStream(ip.FileName, FileMode.Open));
|
||||
currentMapFile.ImportPermissions(File.ReadAllBytes(ip.FileName));
|
||||
|
||||
DrawSmallCollision();
|
||||
DrawSmallTypeCollision();
|
||||
|
|
@ -4392,7 +4392,7 @@ namespace DSPRE {
|
|||
return;
|
||||
}
|
||||
|
||||
currentMapFile.ImportTerrain(new FileStream(it.FileName, FileMode.Open));
|
||||
currentMapFile.ImportTerrain(File.ReadAllBytes(it.FileName));
|
||||
TerrainSizeTXT.Text = currentMapFile.bdhc.Length.ToString() + " B";
|
||||
MessageBox.Show("Terrain settings imported successfully!", "", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
}
|
||||
|
|
@ -4419,7 +4419,7 @@ namespace DSPRE {
|
|||
return;
|
||||
}
|
||||
|
||||
currentMapFile.ImportSoundPlates(new FileStream(it.FileName, FileMode.Open));
|
||||
currentMapFile.ImportSoundPlates(File.ReadAllBytes(it.FileName));
|
||||
BGSSizeTXT.Text = currentMapFile.bgs.Length.ToString() + " B";
|
||||
MessageBox.Show("BackGround Sound data imported successfully!", "", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user