PlayerControllerBase: fixed comment in HandleTurning

This commit is contained in:
MrGadget 2024-09-17 22:31:02 -04:00
parent 708a0121d3
commit ca217ed59f

View File

@ -290,7 +290,7 @@ void HandleTurning(float deltaTime)
{
float targetTurnSpeed = 0f;
// Q and E cancel each other out, reducing targetTurnSpeed to zero.
// TurnLeft and TurnRight cancel each other out, reducing targetTurnSpeed to zero.
if (moveKeys.TurnLeft != KeyCode.None && Input.GetKey(moveKeys.TurnLeft))
targetTurnSpeed -= maxTurnSpeed;
if (moveKeys.TurnRight != KeyCode.None && Input.GetKey(moveKeys.TurnRight))