- 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
|
|
@ -846,7 +846,7 @@ void EV_StopLightEffect (int tag)
|
|||
|
||||
while ((effect = iterator.Next()) != NULL)
|
||||
{
|
||||
if (effect->GetSector()->tag == tag)
|
||||
if (effect->GetSector()->HasTag(tag))
|
||||
{
|
||||
effect->Destroy();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue