Revert "Allow wall running and some other moves while in first person"

This reverts commit bb8c3bfa77.
This commit is contained in:
Simon 2023-11-19 20:31:11 +00:00
parent f5a9e442dc
commit 959ee3b485

View file

@ -1487,7 +1487,7 @@ static qboolean PM_CheckJump( void )
//&& !PM_InKnockDown( pm->ps )//not in a knockdown
&& pm->ps->forceRageRecoveryTime < pm->cmd.serverTime //not in a force Rage recovery period
&& pm->gent && WP_ForcePowerAvailable( pm->gent, FP_LEVITATION, 0 ) //have enough force power to jump
&& ((pm->ps->clientNum&&!PM_ControlledByPlayer())||((pm->ps->clientNum < MAX_CLIENTS||PM_ControlledByPlayer()) /*&& cg.renderingThirdPerson*/ && !cg.zoomMode && !(pm->gent->flags & FL_LOCK_PLAYER_WEAPONS))))// yes this locked weapons check also includes force powers, if we need a separate check later I'll make one
&& ((pm->ps->clientNum&&!PM_ControlledByPlayer())||((pm->ps->clientNum < MAX_CLIENTS||PM_ControlledByPlayer()) && cg.renderingThirdPerson && !cg.zoomMode && !(pm->gent->flags&FL_LOCK_PLAYER_WEAPONS) )) )// yes this locked weapons check also includes force powers, if we need a separate check later I'll make one
{
if ( pm->gent->NPC && pm->gent->NPC->rank != RANK_CREWMAN && pm->gent->NPC->rank <= RANK_LT_JG )
{//reborn who are not acrobats can't do any of these acrobatics