fix reload animation not showing on client

-occured if empty on reserve ammo and walking over an ammo pack while holding reload
This commit is contained in:
pierow 2023-08-20 17:31:01 -04:00
parent bd57692b55
commit cab8803828
2 changed files with 2 additions and 0 deletions

View file

@ -662,6 +662,7 @@ void CBasePlayerWeapon::ItemPostFrame( void )
{
// reload when reload is pressed, or if no buttons are down and weapon is empty.
Reload();
return;
}
}
// +movement: Removed case for +attack2

View file

@ -1012,6 +1012,7 @@ void CBasePlayerWeapon::ItemPostFrame( void )
{
// reload when reload is pressed, or if no buttons are down and weapon is empty.
Reload();
return;
}
}
// +movement: Removed case for +attack2