Skip to content

GUI: Add null checks for m_playerRank and m_playerOfficerMedal in LoadScreen - #71

Open
seer-by-sentry[bot] wants to merge 1 commit into
mainfrom
seer/fix/loadscreen-null-checks
Open

GUI: Add null checks for m_playerRank and m_playerOfficerMedal in LoadScreen#71
seer-by-sentry[bot] wants to merge 1 commit into
mainfrom
seer/fix/loadscreen-null-checks

Conversation

@seer-by-sentry

Copy link
Copy Markdown

Fixes CLIENT-AB. The issue was that: GameSpyLoadScreen failed to find a required WinRank GUI element in the asset file, triggering a NULL pointer assertion crash.

  • Added null checks for m_playerRank[i] and m_playerOfficerMedal[i] before using them.
  • Removed DEBUG_ASSERTCRASH and replaced it with a comment noting that these elements can be NULL if the GUI element is missing.

This fix was generated by Seer in Sentry, triggered automatically. 👁️ Run ID: 1902411

Not quite right? Click here to continue debugging with Seer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants