Skip to content

Commit 5d01bae

Browse files
committed
Aim clamp
1 parent bdf7119 commit 5d01bae

File tree

4 files changed

+1
-0
lines changed

4 files changed

+1
-0
lines changed
Binary file not shown.
0 Bytes
Binary file not shown.

build/xepa.exe

0 Bytes
Binary file not shown.

src/features/base.cc

+1
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ void FeatureBase::Loop()
111111

112112
Vector calcangle = SDK::CalculateAngle(camera, target);
113113
Vector Delta = calcangle - viewangles;
114+
Delta = SDK::ClampAngles(Delta);
114115

115116
if (g_Vars->settings.aim.smooth && abs(Delta.x) > 0.009f && abs(Delta.y) > 0.009f)
116117
{

0 commit comments

Comments
 (0)