Archived

This topic is now archived and is closed to further replies.

Dr Pain

SND_LoadWAV bug

Recommended Posts

Do not pass constant strings to functions like this because it changes it to upper or lowercase and you can''t modify a constant.

Instead make a string variable like this:

char sound1[]="woosh.wav";
...
SND_LoadWav (sound1);

Share this post


Link to post
Share on other sites