Skip to content

Fix game crash on Linux when some music files are missing#202

Merged
fbraz3 merged 1 commit into
mainfrom
fix-missing-music-crash-196
Jul 12, 2026
Merged

Fix game crash on Linux when some music files are missing#202
fbraz3 merged 1 commit into
mainfrom
fix-missing-music-crash-196

Conversation

@fbraz3

@fbraz3 fbraz3 commented Jul 11, 2026

Copy link
Copy Markdown
Owner

Description

Fixes #196

Changes

  • Updated AudioManager::isMusicAlreadyLoaded() to search through all AT_Music events and return TRUE as soon as a valid, existing music file is found.
  • Previously, it only checked the last iterated event in the hash map, which caused fatal startup errors on Linux if that specific file was missing or had case-sensitivity issues.

@fbraz3 fbraz3 marked this pull request as ready for review July 12, 2026 21:46
@fbraz3 fbraz3 merged commit dcbd384 into main Jul 12, 2026
16 checks passed
@fbraz3 fbraz3 deleted the fix-missing-music-crash-196 branch July 12, 2026 21:49
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.

Generals zero hour wont open in linux

1 participant