Prevent jump spamming, disable face-target while mounted, remove auto-attack on right-click target

This commit is contained in:
Kelsi 2026-02-07 18:57:27 -08:00
parent 2fb01abcaa
commit c156f3d390
3 changed files with 3 additions and 5 deletions

View file

@ -935,7 +935,7 @@ void Renderer::update(float deltaTime) {
// Movement-facing comes from camera controller and is decoupled from LMB orbit.
if (cameraController->isMoving() || cameraController->isRightMouseHeld()) {
characterYaw = cameraController->getFacingYaw();
} else if (inCombat_ && targetPosition && !emoteActive) {
} else if (inCombat_ && targetPosition && !emoteActive && !isMounted()) {
// Face target when in combat and idle
glm::vec3 toTarget = *targetPosition - characterPosition;
if (glm::length(glm::vec2(toTarget.x, toTarget.y)) > 0.1f) {