diff --git a/source/src/physics.cpp b/source/src/physics.cpp index 1dcff6c8..eca3d01b 100644 --- a/source/src/physics.cpp +++ b/source/src/physics.cpp @@ -434,7 +434,7 @@ void moveplayer(physent *pl, int moveres, bool local, int curtime) const float climbspeed = 1.0f; if(pl->type==ENT_BOT && pl->state == CS_ALIVE) pl->vel.z = climbspeed; // bots climb upwards only - else if(pl->type==ENT_PLAYER) + else if(pl->type==ENT_PLAYER && pl->state == CS_ALIVE) { if(((playerent *)pl)->k_up) pl->vel.z = climbspeed; else if(((playerent *)pl)->k_down) pl->vel.z = -climbspeed;