mirror of
https://github.com/ENSL/NS.git
synced 2025-02-01 13:40:55 +00:00
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:
parent
bd57692b55
commit
cab8803828
2 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue