mirror of
https://github.com/nzp-team/quakec.git
synced 2025-02-16 17:10:55 +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.
|
// Sways the camera while scoped in.
|
||||||
void() Camera_SniperSway =
|
void() Camera_SniperSway =
|
||||||
{
|
{
|
||||||
if (getstatf(STAT_WEAPONZOOM) != 2) {
|
if (getstatf(STAT_WEAPONZOOM) != 2 || (getstatf(STAT_PERKS) & P_DEAD)) {
|
||||||
sniper_sway = '0 0 0';
|
sniper_sway = '0 0 0';
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue