From 911c1fe849917027f40e0e684471db9696f3c618 Mon Sep 17 00:00:00 2001 From: MotoLegacy Date: Mon, 22 Jan 2024 23:03:34 -0500 Subject: [PATCH] CLIENT: Prevent Sniper Sway with Deadshot Daiquiri --- source/client/main.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/client/main.qc b/source/client/main.qc index f778dbd..8c3d2ad 100644 --- a/source/client/main.qc +++ b/source/client/main.qc @@ -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; }