if ((*list)->next == NULL || (*list)->next->next == NULL)
{
Beep();
Notify( -1, -1, "You must select three or more Sectors", NULL);
}
else
{
DistributeSectorFloors( *list);
}
}
break;
case 6:
if (objtype == OBJ_LINEDEFS)
{
FlipLineDefs( *list, TRUE);
}
else if (objtype == OBJ_SECTORS)
{
if ((*list)->next == NULL || (*list)->next->next == NULL)
{
Beep();
Notify( -1, -1, "You must select three or more Sectors", NULL);
}
else
{
DistributeSectorCeilings( *list);
}
}
break;
case 7:
if (objtype == OBJ_LINEDEFS)
{
if (Expert || Confirm( -1, -1, "Warning: the Sector references are also swapped", "You may get strange results if you don't know what you are doing..."))