Skip to content

bugfix(view): Prevent moving the camera with most user inputs during camera playback in Replay playback#1599

Merged
xezon merged 2 commits into
TheSuperHackers:mainfrom
xezon:xezon/fix-camera-movement-during-replay-camera
Sep 20, 2025
Merged

bugfix(view): Prevent moving the camera with most user inputs during camera playback in Replay playback#1599
xezon merged 2 commits into
TheSuperHackers:mainfrom
xezon:xezon/fix-camera-movement-during-replay-camera

Conversation

@xezon

@xezon xezon commented Sep 18, 2025

Copy link
Copy Markdown

This change prevents moving the camera with most user inputs during camera playback in Replay playback. The possibility of this behavior was introduced with the render and logic update decoupling. When the logic step is smaller than the render update, then there is room for user input to move the camera after a MSG_SET_REPLAY_CAMERA message.

Numpad 5 still causes issues but it is very minor and a different problem.

Before this fix

generalszh.2025-09-18.20-33-52-39.mp4

TODO

  • Replicate in Generals

@xezon xezon added Bug Something is not working right, typically is user facing Minor Severity: Minor < Major < Critical < Blocker ThisProject The issue was introduced by this project, or this task is specific to this project labels Sep 18, 2025

@Mauller Mauller left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I have honestly never seen this happen before but it does look comical.

@xezon xezon changed the title fix(view): Prevent moving the camera with most user inputs during camera playback in Replay playback bugfix(view): Prevent moving the camera with most user inputs during camera playback in Replay playback Sep 20, 2025
@xezon xezon force-pushed the xezon/fix-camera-movement-during-replay-camera branch from 6f1c55c to 28c0d7f Compare September 20, 2025 10:51
@xezon

xezon commented Sep 20, 2025

Copy link
Copy Markdown
Author

Replicated in Generals without conflicts

@xezon xezon merged commit 113babd into TheSuperHackers:main Sep 20, 2025
18 checks passed
@xezon xezon deleted the xezon/fix-camera-movement-during-replay-camera branch September 20, 2025 11:21
fbraz3 pushed a commit to fbraz3/GeneralsX that referenced this pull request Nov 10, 2025
fbraz3 pushed a commit to fbraz3/GeneralsX that referenced this pull request Feb 23, 2026
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 Minor Severity: Minor < Major < Critical < Blocker ThisProject The issue was introduced by this project, or this task is specific to this project

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants