components/prboom/w_wad.c
// W_GetNumForName
// Calls W_CheckNumForName, but bombs out if not found.
//
W_GetNumForName
Calls W_CheckNumForName, but bombs out if not found.
W_GetNumForName Calls W_CheckNumForName but bombs out if not found .
int W_GetNumForName (const char* name)     
{
  int i = W_CheckNumForName (name);
  if (i == -1)
    I_Error("W_GetNumForName: %.8s not found", name);
  return i;
}
int W_GetNumForName ( const char * name ) { int i = W_CheckNumForName ( name ) ; if ( i == -1 ) I_Error ( " " , name ) ; return i ; }
W_GetNumForName
Calls W_CheckNumForName, but bombs out if not found.
W_GetNumForName Calls W_CheckNumForName but bombs out if not found .
// killough -- const added