Skip to content

Camera moving commands bug out when clicking outside the game when cursorlock is disabled #2733

@DrGoldFish1

Description

@DrGoldFish1

Prerequisites

  • I have searched for similar issues and confirmed this is not a duplicate

Game Version

  • Command & Conquer Generals
  • Command & Conquer Generals: Zero Hour
  • Other (please specify below)

Bug Description

The rightclick and the arrow keys will keep registering if you had them pushing in when clicking outside the game when the cursor lock is disabled. Pressing these keys again will fix this issue.

Simular issue as #2732

Reproduction Steps

  1. Disable cursor lock.
  2. hold the right click and drag or hold an arrow key
  3. Click outside the game with these buttons still pressed
  4. Camera will now keep going to this side.

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething is not working right, typically is user facing⚠️ TriageIssues requiring initial review and prioritization

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions