From: havoc Date: Tue, 24 Apr 2007 13:12:35 +0000 (+0000) Subject: fix MAX_CHANNELS, it was too low with the expanded MAX_DYNAMIC_CHANNELS X-Git-Tag: xonotic-v0.1.0preview~3271 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=c03c5a6c1948810cd254afae59c315b8ff2b825e;p=xonotic%2Fdarkplaces.git 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 --- 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];