From a77e5c1f62bf2d37cb762779a6645db97fcb3c38 Mon Sep 17 00:00:00 2001
From: Paul Duncan <pabs@pablotron.org>
Date: Wed, 16 Jan 2019 18:13:44 -0500
Subject: warn rather than fail on Mix_PlayChannel() error

---
 src/sdl/sounds.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/sdl')

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());
   }
 }
-- 
cgit v1.2.3