Add missing returns for untagged lines/sectors

This commit is contained in:
Ricardo Luís Vaz Silva 2023-01-21 15:00:57 -03:00 committed by Major Cooke
parent 3d7e8bf7af
commit a7ab18de29

View file

@ -355,6 +355,8 @@ int FTagManager::GetSectorTag(const sector_t *sector, int index)
return (j < n && allTags[j].target == i) ? allTags[j].tag : 0;
}
return 0;
}
//-----------------------------------------------------------------------------
@ -398,6 +400,8 @@ int FTagManager::GetLineID(const line_t *line, int index)
return (j < n && allTags[j].target == i) ? allTags[j].tag : 0;
}
return 0;
}
//-----------------------------------------------------------------------------