- wrapped all accesses to the sector tag into accessor functions, as preparation for allowing multiple tags per sector.

This commit is contained in:
Christoph Oelckers 2015-03-31 17:09:19 +02:00
commit 238046655c
16 changed files with 61 additions and 44 deletions

View file

@ -551,7 +551,7 @@ void SetCompatibilityParams()
{
if ((unsigned)CompatParams[i + 1] < (unsigned)numsectors)
{
sectors[CompatParams[i + 1]].tag = CompatParams[i + 2];
sectors[CompatParams[i + 1]].SetTag(CompatParams[i + 2]);
}
i += 3;
break;