From c03c5a6c1948810cd254afae59c315b8ff2b825e Mon Sep 17 00:00:00 2001 From: havoc Date: Tue, 24 Apr 2007 13:12:35 +0000 Subject: [PATCH] fix MAX_CHANNELS, it was too low with the expanded MAX_DYNAMIC_CHANNELS git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7167 d7cf8633-e32d-0410-b094-e92efae38249 --- snd_main.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snd_main.h b/snd_main.h index 66c4474d..aba8086c 100644 --- a/snd_main.h +++ b/snd_main.h @@ -114,7 +114,7 @@ struct snd_fetcher_s // NUM_AMBIENTS to NUM_AMBIENTS + MAX_DYNAMIC_CHANNELS - 1 = normal entity sounds // NUM_AMBIENTS + MAX_DYNAMIC_CHANNELS to total_channels = static sounds #define MAX_DYNAMIC_CHANNELS 512 -#define MAX_CHANNELS 516 +#define MAX_CHANNELS 1028 extern unsigned int total_channels; extern channel_t channels[MAX_CHANNELS]; -- 2.39.2