mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 23:32:02 +00:00
- removed unused RemoveLineIDs function.
This commit is contained in:
parent
d0978d0760
commit
1e193206bf
2 changed files with 0 additions and 23 deletions
|
@ -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.
|
||||
|
|
|
@ -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();
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue