Remove unused elevateCurrent elevator type

This commit is contained in:
MascaraSnake 2021-06-25 11:40:19 +02:00
parent 770612bc9d
commit 825b4b384a
2 changed files with 0 additions and 8 deletions

View file

@ -2071,13 +2071,6 @@ void EV_DoElevator(mtag_t tag, line_t *line, elevator_e elevtype)
elevator->floordestheight = P_FindHighestFloorSurrounding(sec);
break;
// elevator to floor height of activating switch's front sector
case elevateCurrent:
elevator->speed = ELEVATORSPEED;
elevator->floordestheight = line->frontsector->floorheight;
elevator->direction = elevator->floordestheight > sec->floorheight? 1 : -1;
break;
case elevateContinuous:
elevator->origspeed = line->args[1] << (FRACBITS - 2);
elevator->speed = elevator->origspeed;

View file

@ -343,7 +343,6 @@ typedef enum
{
elevateUp,
elevateDown,
elevateCurrent,
elevateContinuous,
elevateBounce,
elevateHighest,