- wrapped all accesses to the sector tag into accessor functions, as preparation for allowing multiple tags per sector.
This commit is contained in:
parent
d7092f40a3
commit
238046655c
16 changed files with 61 additions and 44 deletions
|
|
@ -278,7 +278,7 @@ static void RemoveTaggedSectors(extsector_t::linked::plane &scrollplane, int tag
|
|||
{
|
||||
for(int i = scrollplane.Sectors.Size()-1; i>=0; i--)
|
||||
{
|
||||
if (scrollplane.Sectors[i].Sector->tag == tag)
|
||||
if (scrollplane.Sectors[i].Sector->HasTag(tag))
|
||||
{
|
||||
scrollplane.Sectors.Delete(i);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue