Skip to content

Guard against illegal array access#606

Merged
Asdow merged 1 commit into
masterfrom
options-fix
May 28, 2026
Merged

Guard against illegal array access#606
Asdow merged 1 commit into
masterfrom
options-fix

Conversation

@Asdow
Copy link
Copy Markdown
Contributor

@Asdow Asdow commented May 28, 2026

Fixes #420

Hovering mouse over an option long enough that the popup text appears and scrolling to last page with mouse wheel or arrow keys would run into assertion error in gprintfdirty() Assert(pFontString!=NULL); if the option was one of the last ones that didn't have a text box in the last option page.

jagged_alliance_2_2026-05-28_17-42-20 jagged_alliance_2_2026-05-28_17-42-34

Hovering mouse over an option long enough that the popup text appears and scrolling to last page with mouse wheel would run into assertion error in gprintfdirty()  Assert(pFontString!=NULL); if the option was one of the last ones that didn't have a text box in the last option page.
@Asdow Asdow merged commit 8b3e417 into master May 28, 2026
9 checks passed
@Asdow Asdow deleted the options-fix branch May 28, 2026 14:44
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.

Game crashes when mouse wheel is used to scroll to the last page in the options menu

1 participant