diff options
Diffstat (limited to 'src/strife')
-rw-r--r-- | src/strife/p_plats.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/strife/p_plats.c b/src/strife/p_plats.c index 45779aeb..5d10670d 100644 --- a/src/strife/p_plats.c +++ b/src/strife/p_plats.c @@ -214,12 +214,8 @@ int EV_DoPlat(line_t* line, plattype_e type, int amount) // villsa [STRIFE] case upWaitDownStay: plat->speed = PLATSPEED * 4; - plat->low = P_FindNextHighestFloor(sec, sec->floorheight); - - if(plat->low > sec->floorheight) - plat->low = sec->floorheight; - - plat->high = sec->floorheight; + plat->high = P_FindNextHighestFloor(sec, sec->floorheight); + plat->low = sec->floorheight; plat->wait = TICRATE * PLATWAIT; plat->status = up; S_StartSound(&sec->soundorg, sfx_pstart); |