components/prboom/p_spec.c
// killough 4/16/98: Same thing, only for linedefs
killough 4/16/98: Same thing, only for linedefs
killough 4 / 16 / 98 : Same thing only for linedefs
int P_FindLineFromLineTag(const line_t *line, int start)
{
  start = start >= 0 ? lines[start].nexttag :
    lines[(unsigned) line->tag % (unsigned) numlines].firsttag;
  while (start >= 0 && lines[start].tag != line->tag)
    start = lines[start].nexttag;
  return start;
}
int P_FindLineFromLineTag ( const line_t * line , int start ) { start = start >= 0 ? lines [ start ] . nexttag : lines [ ( unsigned ) line -> tag % ( unsigned ) numlines ] . firsttag ; while ( start >= 0 && lines [ start ] . tag != line -> tag ) start = lines [ start ] . nexttag ; return start ; }
killough 4/16/98: Same thing, only for linedefs
killough 4 / 16 / 98 : Same thing only for linedefs