diff --git a/src/p_tags.cpp b/src/p_tags.cpp index 50e5694a30..15528378b0 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 e196600a62..c3162d9b56 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(); };