components/prboom/p_ceilng.c
//
// P_RemoveAllActiveCeilings()
//
// Removes all ceilings from the active ceiling list
//
// Passed nothing, returns nothing
//
P_RemoveAllActiveCeilings()
Removes all ceilings from the active ceiling list

Passed nothing, returns nothing
P_RemoveAllActiveCeilings () Removes all ceilings from the active ceiling list Passed nothing returns nothing
void P_RemoveAllActiveCeilings(void)
{
  while (activeceilings)
  {
    ceilinglist_t *next = activeceilings->next;
    free(activeceilings);
    activeceilings = next;
  }
}
void P_RemoveAllActiveCeilings ( void ) { while ( activeceilings ) { ceilinglist_t * next = activeceilings -> next ; free ( activeceilings ) ; activeceilings = next ; } }
P_RemoveAllActiveCeilings()
Removes all ceilings from the active ceiling list
P_RemoveAllActiveCeilings () Removes all ceilings from the active ceiling list