Add currently unused auxiliary function.

This commit is contained in:
Nev3r 2020-04-17 18:14:15 +02:00
parent b690d35a99
commit e3dfdb448e
2 changed files with 8 additions and 0 deletions

View file

@ -111,6 +111,12 @@ static void Taglist_AddToMapthings (const mtag_t tag, const size_t itemid)
tagelems->elements[tagelems->count - 1] = itemid;
}
void Tag_SectorFSet (const size_t id, const mtag_t tag)
{
sector_t* sec = &sectors[id];
Tag_FSet(&sec->tags, tag);
}
void Taglist_InitGlobalTables(void)
{
size_t i, j;

View file

@ -23,6 +23,8 @@ boolean Tag_Share (const taglist_t* list1, const taglist_t* list2);
boolean Tag_Compare (const taglist_t* list1, const taglist_t* list2);
void Tag_SectorFSet (const size_t id, const mtag_t tag);
typedef struct
{
size_t *elements;