Skip to content

Commit

Permalink
CLIENT: Prevent Sniper Sway with Deadshot Daiquiri
Browse files Browse the repository at this point in the history
  • Loading branch information
MotoLegacy committed Jan 23, 2024
1 parent 8eb0eab commit 911c1fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/client/main.qc
Expand Up @@ -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;
}
Expand Down

0 comments on commit 911c1fe

Please sign in to comment.