mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-22 09:11:21 +00:00
Remove unused elevateCurrent elevator type
This commit is contained in:
parent
770612bc9d
commit
825b4b384a
2 changed files with 0 additions and 8 deletions
|
@ -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;
|
||||
|
|
|
@ -343,7 +343,6 @@ typedef enum
|
|||
{
|
||||
elevateUp,
|
||||
elevateDown,
|
||||
elevateCurrent,
|
||||
elevateContinuous,
|
||||
elevateBounce,
|
||||
elevateHighest,
|
||||
|
|
Loading…
Reference in a new issue