mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-04-18 16:30:58 +00:00
Remove P_FindSectorFromLineTag()
This commit is contained in:
parent
35f539e398
commit
25102ab4af
2 changed files with 0 additions and 15 deletions
14
src/p_spec.c
14
src/p_spec.c
|
@ -988,26 +988,12 @@ static sector_t *P_FindModelCeilingSector(fixed_t ceildestheight, INT32 secnum)
|
|||
}
|
||||
#endif
|
||||
|
||||
/** Searches the tag lists for the next sector tagged to a line.
|
||||
*
|
||||
* \param line Tagged line used as a reference.
|
||||
* \param start -1 to start at the beginning, or the result of a previous call
|
||||
* to keep searching.
|
||||
* \return Number of the next tagged sector found.
|
||||
* \sa P_FindSectorFromTag, P_FindLineFromLineTag
|
||||
*/
|
||||
INT32 P_FindSectorFromLineTag(line_t *line, INT32 start)
|
||||
{
|
||||
return P_FindSectorFromTag(line->tag, start);
|
||||
}
|
||||
|
||||
/** Searches the tag lists for the next sector with a given tag.
|
||||
*
|
||||
* \param tag Tag number to look for.
|
||||
* \param start -1 to start anew, or the result of a previous call to keep
|
||||
* searching.
|
||||
* \return Number of the next tagged sector found.
|
||||
* \sa P_FindSectorFromLineTag
|
||||
*/
|
||||
INT32 P_FindSectorFromTag(INT16 tag, INT32 start)
|
||||
{
|
||||
|
|
|
@ -55,7 +55,6 @@ fixed_t P_FindNextLowestFloor(sector_t *sec, fixed_t currentheight);
|
|||
fixed_t P_FindLowestCeilingSurrounding(sector_t *sec);
|
||||
fixed_t P_FindHighestCeilingSurrounding(sector_t *sec);
|
||||
|
||||
INT32 P_FindSectorFromLineTag(line_t *line, INT32 start);
|
||||
INT32 P_FindSectorFromTag(INT16 tag, INT32 start);
|
||||
INT32 P_FindSpecialLineFromTag(INT16 special, INT16 tag, INT32 start);
|
||||
|
||||
|
|
Loading…
Reference in a new issue