Skip to content

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

Draft
fbraz3 wants to merge 1 commit into
mainfrom
fix-missing-music-crash-196
Draft

Fix game crash on Linux when some music files are missing#202
fbraz3 wants to merge 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.

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