From: terencehill Date: Thu, 11 Apr 2019 21:28:30 +0000 (+0200) Subject: Reduce config_queue size, it was quite wasted given that the weapon with most setting... X-Git-Tag: xonotic-v0.8.5~1546^2~4 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=011b34769955080ab1eaffd23683c2bc3d6da693;p=xonotic%2Fxonotic-data.pk3dir.git Reduce config_queue size, it was quite wasted given that the weapon with most settings has 58 settings --- diff --git a/qcsrc/common/util.qh b/qcsrc/common/util.qh index d0a8ab86a..f20cbd57a 100644 --- a/qcsrc/common/util.qh +++ b/qcsrc/common/util.qh @@ -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