diff --git a/src/p_tags.cpp b/src/p_tags.cpp index 50e5694a3..15528378b 100644 --- a/src/p_tags.cpp +++ b/src/p_tags.cpp @@ -118,28 +118,6 @@ void FTagManager::RemoveSectorTags(int sect) // //----------------------------------------------------------------------------- -void FTagManager::RemoveLineIDs(int sect) -{ - if (startForLine.Size() > (unsigned int)sect) - { - int start = startForLine[sect]; - if (start >= 0) - { - while (allIDs[start].target == sect) - { - allIDs[start].tag = allIDs[start].target = -1; - start++; - } - } - } -} - -//----------------------------------------------------------------------------- -// -// -// -//----------------------------------------------------------------------------- - void FTagManager::AddLineID(int line, int tag) { if (tag == -1) return; // For line IDs -1 means 'not set', unlike sectors. diff --git a/src/p_tags.h b/src/p_tags.h index e196600a6..c3162d9b5 100644 --- a/src/p_tags.h +++ b/src/p_tags.h @@ -64,7 +64,6 @@ public: void AddSectorTag(int sector, int tag); void AddLineID(int line, int tag); void RemoveSectorTags(int sect); - void RemoveLineIDs(int sect); void DumpTags(); };