]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Reduce config_queue size, it was quite wasted given that the weapon with most setting...
authorterencehill <piuntn@gmail.com>
Thu, 11 Apr 2019 21:28:30 +0000 (23:28 +0200)
committerterencehill <piuntn@gmail.com>
Thu, 11 Apr 2019 21:28:30 +0000 (23:28 +0200)
qcsrc/common/util.qh

index d0a8ab86a1acec5d974fa5ea56001ef8973e4bb8..f20cbd57a0e05701a3668f4ebebadc7d8a9c842f 100644 (file)
@@ -26,8 +26,8 @@ vector real_origin(entity ent);
 #endif
 
 #ifdef SVQC
-// temporary array used to dump weapon and turret settings
-const int MAX_CONFIG_SETTINGS = 256;
+// temporary array used to dump settings for each weapon / turret
+const int MAX_CONFIG_SETTINGS = 70;
 string config_queue[MAX_CONFIG_SETTINGS];
 #endif