Skip to content

Conversation

@xezon
Copy link

@xezon xezon commented Sep 19, 2025

This change force stops camera inputs after match end to avoid stuck camera movements in the Shell Map after a Replay playback has ended while the user did some camera movements.

While at it I also refactored some value assignments to function calls in InGameUI::reset for robustness.

I also did a little fix in InGameUI::getSuperweaponDisplayEnabledByScript but it is inconsequential because that function is never called.

Camera is stuck spinning in Shell Map

generalszh.2025-09-18.20-18-52-67.mp4

TODO

  • Replicate in Generals

@xezon xezon added Bug Something is not working right, typically is user facing Minor Severity: Minor < Major < Critical < Blocker Gen Relates to Generals ZH Relates to Zero Hour Input labels Sep 19, 2025
Copy link

@Mauller Mauller left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, i have also never come across this before and it does look funny.

@xezon xezon changed the title bugfix(input): Force stop camera inputs after match end bugfix(input): Force stop camera inputs after game end Sep 20, 2025
@xezon xezon force-pushed the xezon/fix-camera-movement-after-match-end branch from 4b07cf0 to d6fbad2 Compare September 20, 2025 10:53
@xezon
Copy link
Author

xezon commented Sep 20, 2025

Replicated in Generals without conflicts

@xezon xezon merged commit a8f6955 into TheSuperHackers:main Sep 20, 2025
17 checks passed
@xezon xezon deleted the xezon/fix-camera-movement-after-match-end branch September 20, 2025 11:22
fbraz3 pushed a commit to fbraz3/GeneralsX that referenced this pull request Nov 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Something is not working right, typically is user facing Gen Relates to Generals Input Minor Severity: Minor < Major < Critical < Blocker ZH Relates to Zero Hour

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Keeping camera zoom button pressed while ending a match will not release the button press

2 participants