mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-02-20 10:53:19 +00:00
Fixed a broken lookup update logic in WAD.Remove() and WAD.RemoveAt() again.
MakeSVNRelease.bat: changed log start revision from 1 to 1496 (GZDB's second commit).
This commit is contained in:
parent
f924dbcbbb
commit
ae7d6dd3c1
2 changed files with 3 additions and 3 deletions
|
@ -28,7 +28,7 @@ ECHO.
|
|||
ECHO Writing SVN log file...
|
||||
ECHO.
|
||||
IF EXIST "SVN_Build\log.xml" DEL /F /Q "SVN_Build\log.xml" > NUL
|
||||
svn log --xml -r HEAD:1 > "SVN_Build\log.xml"
|
||||
svn log --xml -r HEAD:1496 > "SVN_Build\log.xml"
|
||||
IF %ERRORLEVEL% NEQ 0 GOTO ERRORFAIL
|
||||
IF NOT EXIST "SVN_Build\log.xml" GOTO FILEFAIL
|
||||
|
||||
|
|
|
@ -305,7 +305,7 @@ namespace CodeImp.DoomBuilder.IO
|
|||
lumps.RemoveAt(index);
|
||||
|
||||
// Remove from lookup (mxd)
|
||||
if(lookup[l.LongName].Count > 0)
|
||||
if(lookup[l.LongName].Count > 1)
|
||||
{
|
||||
lookup[l.LongName].Remove(index);
|
||||
}
|
||||
|
@ -330,7 +330,7 @@ namespace CodeImp.DoomBuilder.IO
|
|||
lump.Dispose();
|
||||
|
||||
// Remove from lookup (mxd)
|
||||
if (lookup[lump.LongName].Count > 0)
|
||||
if (lookup[lump.LongName].Count > 1)
|
||||
{
|
||||
lookup[lump.LongName].Remove(pos);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue