]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
fix MAX_CHANNELS, it was too low with the expanded MAX_DYNAMIC_CHANNELS
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 24 Apr 2007 13:12:35 +0000 (13:12 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 24 Apr 2007 13:12:35 +0000 (13:12 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7167 d7cf8633-e32d-0410-b094-e92efae38249

snd_main.h

index 66c4474df03b8e371b378a7153a85af9f0e14dd9..aba8086c902f297c29c32b5b449d20ed65cfe099 100644 (file)
@@ -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];