forked from DescentDevelopers/Descent3
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix crash in hlsSystem::ComputePlayInfo(), DescentDevelopers#141
sound_seg was -1, which crashes in BOA_INDEX(sound_seg) on 64bit platforms (by pure luck it doesn't seem to crash on 32bit platforms) It makes sense to catch this problem much earlier in Play3dSound(), to avoid executing all the superfluous
- Loading branch information
1 parent
86a6c13
commit 41c4578
Showing
1 changed file
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters