aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2019-01-16 18:13:44 -0500
committerPaul Duncan <pabs@pablotron.org>2019-01-16 18:13:44 -0500
commita77e5c1f62bf2d37cb762779a6645db97fcb3c38 (patch)
tree951620e54fe3ccad76cc9ff327929367610d1a4e
parent0fd2a97e6f169468b3a48f996ba35cd70210baa0 (diff)
downloadsok-a77e5c1f62bf2d37cb762779a6645db97fcb3c38.tar.bz2
sok-a77e5c1f62bf2d37cb762779a6645db97fcb3c38.zip
warn rather than fail on Mix_PlayChannel() error
-rw-r--r--src/sdl/sounds.c2
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());
}
}