fixed autoshoot

This commit is contained in:
nullifiedcat 2017-05-01 20:23:42 +03:00
parent ec48906f19
commit ff2e7e3d4f

View File

@ -471,7 +471,8 @@ bool ShouldAim(CUserCmd* cmd) {
if (zoomed_only) { if (zoomed_only) {
if (g_pLocalPlayer->weapon()->m_iClassID == g_pClassID->CTFSniperRifle || if (g_pLocalPlayer->weapon()->m_iClassID == g_pClassID->CTFSniperRifle ||
g_pLocalPlayer->weapon()->m_iClassID == g_pClassID->CTFSniperRifleDecap) { g_pLocalPlayer->weapon()->m_iClassID == g_pClassID->CTFSniperRifleDecap) {
return false; // confused_nigga.jpg
return g_pLocalPlayer->bZoomed;
} }
} }
if (only_can_shoot) { if (only_can_shoot) {