Fix crouch toggle not activating Silver Bullet prone mode.
This commit is contained in:
parent
608c554a40
commit
f59c2bdf8d
2 changed files with 3 additions and 3 deletions
|
|
@ -239,7 +239,7 @@ Class SilverBullet : SWWMWeapon
|
|||
}
|
||||
if ( (Owner.player.ReadyWeapon == self) && Owner.player.onground )
|
||||
{
|
||||
if ( Owner.player.cmd.buttons&BT_CROUCH )
|
||||
if ( (Owner.player.cmd.buttons&BT_CROUCH) || (Owner.player.crouchdir == -1) )
|
||||
{
|
||||
if ( !proneme ) Owner.A_StartSound("silverbullet/crouch",CHAN_WEAPONEXTRA,CHANF_OVERLAP);
|
||||
proneme = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue