Skip to content

Commit 7dccfd4

Browse files
committed
Trigger glualint
1 parent 467e44a commit 7dccfd4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lua/ulx/modules/sh/cfc_wheel.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ hook.Add( "Think", "CFC_ULX_WheelKeepUpright", function()
149149
local spindownMult = turnTorque and WHEEL_TURN_ASSIST_SPINDOWN_MULT or 1 -- Assist turning by reducing forwards spin
150150
local rightDotAim = wheelRight:Dot( plyForward )
151151

152-
if mAbs( rightDotAim ) > WHEEL_TURN_ASSIST_REORIENT_THRESHOLD then
152+
if mAbs( rightDotAim ) > WHEEL_TURN_ASSIST_REORIENT_THRESHOLD then -- Gently turn wheel towards player's aim
153153
spinTorque = -VEC_UP * WHEEL_TURN_STRENGTH:GetFloat() * mSignNoZero( rightDotAim )
154154
end
155155

0 commit comments

Comments
 (0)