Skip to content

Commit

Permalink
allow kicks with force focus key
Browse files Browse the repository at this point in the history
  • Loading branch information
TwelveEyes committed Jul 1, 2024
1 parent 3b92db1 commit cea7576
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/game/bg_pmove.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11164,9 +11164,9 @@ qboolean PM_SaberThrowable( void )
qboolean PM_CheckAltKickAttack( void )
{
if ( (pm->cmd.buttons&BUTTON_ALT_ATTACK)
&& (!(pm->ps->pm_flags&PMF_ALT_ATTACK_HELD) ||PM_SaberInReturn(pm->ps->saberMove))
&& (!(pm->ps->pm_flags&PMF_ALT_ATTACK_HELD) || (pm->ps->pm_flags&PMF_FORCE_FOCUS_HELD) || PM_SaberInReturn(pm->ps->saberMove))
&& (!PM_FlippingAnim(pm->ps->legsAnim)||pm->ps->legsAnimTimer<=250)
&& (!PM_SaberThrowable())
// && (!PM_SaberThrowable())
&& pm->ps->SaberActive()
&& !(pm->ps->saber[0].saberFlags&SFL_NO_KICKS)//okay to do kicks with this saber
&& (!pm->ps->dualSabers || !(pm->ps->saber[1].saberFlags&SFL_NO_KICKS) )//okay to do kicks with this saber
Expand Down

0 comments on commit cea7576

Please sign in to comment.