]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/weapons/w_nex.qc
Actually we can do another macro there too :D
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / weapons / w_nex.qc
index 53b7a1c04aa8f37b66f7fce1abf41896f305916a..821f9e2ecf6de4a5798129f38a7cc79a0aec03a2 100644 (file)
@@ -242,7 +242,7 @@ float w_nex(float req)
                        precache_sound ("weapons/nexwhoosh2.wav");
                        precache_sound ("weapons/nexwhoosh3.wav");
                        #define WEP_ADD_CVAR(weapon,mode,name) /*nothing*/
-                       #define WEP_ADD_PROP(weapon,prop,name) get_weaponinfo(WEP_NEX).##prop = autocvar_g_balance_##weapon##_##name;
+                       #define WEP_ADD_PROP(weapon,prop,name) WEP_SET_PROP(WEP_NEX,weapon,prop,name)
                        NEX_SETTINGS(nex)
                        #undef WEP_ADD_CVAR
                        #undef WEP_ADD_PROP