3D Floor Mode: fixed a bug that would not increment the sector tags correctly if a tag range is used

This commit is contained in:
biwa 2020-06-01 11:54:25 +02:00
parent 17987918de
commit 0a6ee07ba1
2 changed files with 5 additions and 1 deletions

View file

@ -929,6 +929,7 @@ namespace CodeImp.DoomBuilder.ThreeDFloorMode
try
{
newtag = BuilderPlug.Me.ControlSectorArea.GetNewSectorTag(tagblacklist);
tagblacklist.Add(newtag);
}
catch (Exception e)
{

View file

@ -257,8 +257,11 @@ namespace CodeImp.DoomBuilder.ThreeDFloorMode
// With multiple tag support in UDMF only one tag is needed, so bind it right away
if (General.Map.UDMF == true)
{
if(isnew)
if (isnew)
{
udmftag = BuilderPlug.Me.ControlSectorArea.GetNewSectorTag(tagblacklist);
tagblacklist.Add(udmftag);
}
BindTag(udmftag);
}