- 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
|
|
@ -572,7 +572,7 @@ static int P_FindSectorFromTagLinear (int tag, int start)
|
|||
{
|
||||
for (int i=start+1;i<numsectors;i++)
|
||||
{
|
||||
if (sectors[i].tag == tag) return i;
|
||||
if (sectors[i].HasTag(tag)) return i;
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue