- removed unused RemoveLineIDs function.

This commit is contained in:
Christoph Oelckers 2016-01-10 10:08:06 +01:00
parent d0978d0760
commit 1e193206bf
2 changed files with 0 additions and 23 deletions

View file

@ -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) void FTagManager::AddLineID(int line, int tag)
{ {
if (tag == -1) return; // For line IDs -1 means 'not set', unlike sectors. if (tag == -1) return; // For line IDs -1 means 'not set', unlike sectors.

View file

@ -64,7 +64,6 @@ public:
void AddSectorTag(int sector, int tag); void AddSectorTag(int sector, int tag);
void AddLineID(int line, int tag); void AddLineID(int line, int tag);
void RemoveSectorTags(int sect); void RemoveSectorTags(int sect);
void RemoveLineIDs(int sect);
void DumpTags(); void DumpTags();
}; };