Fixed FOV

This commit is contained in:
nullifiedcat 2017-02-04 16:04:39 +03:00
parent 4af9d51ff2
commit 5d052acc63
2 changed files with 3 additions and 3 deletions

View File

@ -51,9 +51,9 @@
#define SQR(x) x * x
#ifndef CATHOOK_BUILD_NUMBER
#define CATHOOK_BUILD_NUMBER "-1"
#define CATHOOK_BUILD_NUMBER "LATEST"
#endif
#define CATHOOK_BUILD_NAME "Sweet Roll"
#define CATHOOK_BUILD_NAME "Cinnamon Pie"
#define CON_NAME "cat"
#define CON_PREFIX CON_NAME "_"

View File

@ -403,7 +403,7 @@ int Aimbot::ShouldTarget(CachedEntity* entity) {
}
}
if (v_fFOV->GetFloat() > 0.0f && (GetFov(g_pLocalPlayer->v_OrigViewangles, g_pLocalPlayer->v_Eye, resultAim) > v_fFOV->GetFloat())) return false;
return 0;
return 25;
} else if (entity->m_Type == ENTITY_BUILDING) {
if (!v_bAimBuildings->GetBool()) return 19;
int team = CE_INT(entity, netvar.iTeamNum);