From 46d99831423c76c8e0c8cbeecbb1eef2bb88f116 Mon Sep 17 00:00:00 2001 From: Steve Date: Thu, 8 Feb 2018 22:24:53 +0000 Subject: [PATCH] Increase available number of sounds channels. --- src/system/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/system/init.c b/src/system/init.c index eea701d..6333541 100644 --- a/src/system/init.c +++ b/src/system/init.c @@ -77,7 +77,7 @@ void initSDL(void) exit(1); } - Mix_AllocateChannels(CH_MAX); + Mix_AllocateChannels(CH_MAX * 3); app.window = SDL_CreateWindow("Blob Wars : Attrition", SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, app.winWidth, app.winHeight, windowFlags);