3D Realms Forums

3D Realms Forums (https://forums.3drealms.com/vb/index.php)
-   Shadow Warrior Source Code (https://forums.3drealms.com/vb/forumdisplay.php?f=30)
-   -   Sound crash after compiling SW from source code (https://forums.3drealms.com/vb/showthread.php?t=38817)

Litude 12-05-2012 09:37 AM

Sound crash after compiling SW from source code
 
Hey,

I'm having a little trouble with my executable that I've compiled from the Shadow Warrior source code. I've downloaded the source code from here and took some modified .H files from here by jbailey to make the code compile under Open Watcom 1.6. I've made no other changes whatsoever.

Now while the code compiles fine and the game itself also starts fine, it occasionally crashes when certain sound effects are supposed to be played with the following error message:
Code:

Assertion failed: num >= 0 && num < DIGI_MAX
 SOUNDS.C, line 739

One example of a situation when this happens is in Wanton Destruction when trying to shoot the bunnies in the level Monastery using the Riot Gun.

Does anyone know how one could tweak the source code to fix this problem?


All times are GMT -6. The time now is 06:55 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, vBulletin Solutions, Inc.

Website is 1987-2014 Apogee Software, Ltd.
Ideas and messages posted here become property of Apogee Software Ltd.