BulletTracers.cpp: Use cmd viewangles instead
Adds support for aimbot
This commit is contained in:
parent
7209a2d1fa
commit
ed115d3a33
@ -164,7 +164,7 @@ IClientEntity *GetActiveTFWeapon_detour(IClientEntity *this_ /* C_TFPlayer * */)
|
||||
QAngle angle = *(QAngle *) &NET_VECTOR(this_, netvar.angEyeAngles);
|
||||
if (isLocal)
|
||||
{
|
||||
g_IEngine->GetViewAngles(angle);
|
||||
angle = VectorToQAngle(current_user_cmd->viewangles);
|
||||
eyePos = g_pLocalPlayer->v_Eye;
|
||||
}
|
||||
Vector forward;
|
||||
|
Reference in New Issue
Block a user