mirror of
https://github.com/nzp-team/quakec.git
synced 2024-11-22 03:41:15 +00:00
CLIENT: Prevent Sniper Sway with Deadshot Daiquiri
This commit is contained in:
parent
8eb0eabb5d
commit
911c1fe849
1 changed files with 1 additions and 1 deletions
|
@ -545,7 +545,7 @@ vector sniper_sway;
|
|||
// Sways the camera while scoped in.
|
||||
void() Camera_SniperSway =
|
||||
{
|
||||
if (getstatf(STAT_WEAPONZOOM) != 2) {
|
||||
if (getstatf(STAT_WEAPONZOOM) != 2 || (getstatf(STAT_PERKS) & P_DEAD)) {
|
||||
sniper_sway = '0 0 0';
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue