Jump to content

Home

Turning Off Weapon Activation/Firing


DeadlyBOFH

Recommended Posts

bg_pmove.c :

PM_Weapon()

 

instead of :

if (pm->ps->weaponTime < 1 && (pm->cmd.buttons & (BUTTON_ATTACK|BUTTON_ALT_ATTACK)))

 

add :

if (pm->ps->weaponTime < 1 && (pm->cmd.buttons & (BUTTON_ATTACK|BUTTON_ALT_ATTACK)) && ps->torsoAnim != BOTH_SLEEP2 )

 

 

should work...

Link to comment
Share on other sites

  • 2 weeks later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...