mirror of
https://github.com/DrBeef/JKXR.git
synced 2024-11-24 21:11:03 +00:00
Revert "Allow wall running and some other moves while in first person"
This reverts commit bb8c3bfa77
.
This commit is contained in:
parent
f5a9e442dc
commit
959ee3b485
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue