mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 06:42:12 +00:00
Add missing returns for untagged lines/sectors
This commit is contained in:
parent
3d7e8bf7af
commit
a7ab18de29
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in a new issue