increase MAX_CHANNELS to support quakemash
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 7 Jan 2017 18:55:51 +0000 (18:55 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 7 Jan 2017 18:55:51 +0000 (18:55 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12319 d7cf8633-e32d-0410-b094-e92efae38249

quakedef.h

index f2acede..c374573 100644 (file)
@@ -178,7 +178,7 @@ extern char engineversion[128];
 // 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
 // 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                    1028
+#define        MAX_CHANNELS                    (8192 + 4)
 #define        MODLIST_TOTALSIZE               256
 #define        MAX_FAVORITESERVERS             256
 #define        MAX_DECALSYSTEM_QUEUE   1024
 #define        MODLIST_TOTALSIZE               256
 #define        MAX_FAVORITESERVERS             256
 #define        MAX_DECALSYSTEM_QUEUE   1024