]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/weapons/config.qh
Compact 2 macros
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / weapons / config.qh
index b21bf017029dd45e329fa0cb4a9068d2110ead0e..26a37a7ce0b179f5719ab3b36758d1fe44920f9a 100644 (file)
@@ -10,10 +10,7 @@ int wep_config_file;
 bool wep_config_alsoprint;
 
 int WEP_CONFIG_COUNT;
-#define WEP_CONFIG_QUEUE(a) { \
-       config_queue[WEP_CONFIG_COUNT] = a; \
-       ++WEP_CONFIG_COUNT; }
-
+#define WEP_CONFIG_QUEUE(a) config_queue[WEP_CONFIG_COUNT++] = a;
 
 #define WEP_CONFIG_WRITE_CVARS(wepname, name, T) WEP_CONFIG_WRITE_PROPS_##T(wepname, name)