mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-29 15:22:08 +00:00
Add missing returns for untagged lines/sectors
This commit is contained in:
parent
793d6af5d1
commit
0149940a2a
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