mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-01-31 04:40:55 +00:00
Fixed: 'Save into' would detect non-map lumps with the same name as maps and ask if you want to save over...
This commit is contained in:
parent
d46860824d
commit
4a62478545
3 changed files with 4 additions and 4 deletions
|
@ -908,7 +908,7 @@ namespace CodeImp.DoomBuilder
|
|||
if(purpose == SavePurpose.IntoFile)
|
||||
{
|
||||
WAD wad = new WAD(newfilepathname, true);
|
||||
int mapindex = wad.FindLumpIndex(origmapname);
|
||||
int mapindex = FindAndRemoveMap(wad, origmapname, false);
|
||||
wad.Dispose();
|
||||
|
||||
if(mapindex != -1 && MessageBox.Show(General.MainWindow, "Target file already contains map \"" + origmapname + "\"\nDo you want to replace it?", "Map already exists!", MessageBoxButtons.YesNo, MessageBoxIcon.Warning) == DialogResult.No)
|
||||
|
|
|
@ -30,6 +30,6 @@ using CodeImp.DoomBuilder;
|
|||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
[assembly: AssemblyVersion("2.3.0.2895")]
|
||||
[assembly: AssemblyVersion("2.3.0.2897")]
|
||||
[assembly: NeutralResourcesLanguageAttribute("en")]
|
||||
[assembly: AssemblyHash("f895950")]
|
||||
[assembly: AssemblyHash("d468608")]
|
||||
|
|
|
@ -29,5 +29,5 @@ using System.Resources;
|
|||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
[assembly: AssemblyVersion("2.3.0.2895")]
|
||||
[assembly: AssemblyVersion("2.3.0.2897")]
|
||||
[assembly: NeutralResourcesLanguageAttribute("en")]
|
||||
|
|
Loading…
Reference in a new issue