diff options
author | Paul Duncan <pabs@pablotron.org> | 2019-01-16 18:13:44 -0500 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2019-01-16 18:13:44 -0500 |
commit | a77e5c1f62bf2d37cb762779a6645db97fcb3c38 (patch) | |
tree | 951620e54fe3ccad76cc9ff327929367610d1a4e /src | |
parent | 0fd2a97e6f169468b3a48f996ba35cd70210baa0 (diff) | |
download | sok-a77e5c1f62bf2d37cb762779a6645db97fcb3c38.tar.bz2 sok-a77e5c1f62bf2d37cb762779a6645db97fcb3c38.zip |
warn rather than fail on Mix_PlayChannel() error
Diffstat (limited to 'src')
-rw-r--r-- | src/sdl/sounds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sdl/sounds.c b/src/sdl/sounds.c index 956229c..f110b26 100644 --- a/src/sdl/sounds.c +++ b/src/sdl/sounds.c @@ -42,6 +42,6 @@ sound_play( // play sound if (Mix_PlayChannel(-1, sounds[SOUND_OFS(id)], 0)) { - die("Mix_PlayChannel(): %s", Mix_GetError()); + warn("Mix_PlayChannel(): %s", Mix_GetError()); } } |