Skip to content

Conversation

@xezon
Copy link

@xezon xezon commented May 29, 2025

This change fixes a game crash when exiting a Replay playback while a player places a beacon.

This change is not strictly necessary with #971, but it looks reasonable here to always test NULL, for robustness. Other code places also test getPlayerTemplate().

@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 Crash This is a crash, very bad labels May 29, 2025
@xezon xezon added this to the Stability fixes milestone May 29, 2025
@xezon xezon requested a review from Skyaero42 May 29, 2025 18:50
@xezon xezon changed the title [GEN][ZH] Fix crash when exiting Replay playback while a player places a beacon 2 [GEN][ZH] Fix crash when exiting Replay playback while a player places a beacon (2) Jun 1, 2025
@xezon xezon merged commit 0bef4c9 into TheSuperHackers:main Jun 1, 2025
20 checks passed
@xezon xezon deleted the xezon/fix-replay-beacon-crash branch June 1, 2025 13:17
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 Crash This is a crash, very bad Gen Relates to Generals Minor Severity: Minor < Major < Critical < Blocker ZH Relates to Zero Hour

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Game crashes when exiting Replay Mode while player places beacon

2 participants