]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/weapons/w_mortar.qc
Actually we can do another macro there too :D
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / weapons / w_mortar.qc
index f4b93052bd332bb9105a44347ff444988d753c55..aa72c88e6f107213b2c44a9192026f4b8fcca448 100644 (file)
@@ -388,7 +388,7 @@ float w_glauncher(float req)
                        precache_sound ("weapons/grenade_fire.wav");
 
                        #define WEP_ADD_CVAR(weapon,mode,name) /*nothing*/
-                       #define WEP_ADD_PROP(weapon,prop,name) get_weaponinfo(WEP_GRENADE_LAUNCHER).##prop = autocvar_g_balance_##weapon##_##name;
+                       #define WEP_ADD_PROP(weapon,prop,name) WEP_SET_PROP(WEP_GRENADE_LAUNCHER,weapon,prop,name)
                        MORTAR_SETTINGS(mortar)
                        #undef WEP_ADD_CVAR
                        #undef WEP_ADD_PROP