CLIENT: Prevent Sniper Sway with Deadshot Daiquiri

This commit is contained in:
MotoLegacy 2024-01-22 23:03:34 -05:00
parent 8eb0eabb5d
commit 911c1fe849

View file

@ -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;
} }