]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix string property saving
authorSamual Lenks <samual@xonotic.org>
Wed, 11 Dec 2013 00:04:17 +0000 (19:04 -0500)
committerSamual Lenks <samual@xonotic.org>
Wed, 11 Dec 2013 00:04:17 +0000 (19:04 -0500)
bal-wep-xonotic.cfg
qcsrc/common/weapons/config.qh

index d3b6d32c5aec3f74828cf0140244d40d697dbb93..db6365a75356b22d6462bd0833c8dd2850f2ad51 100644 (file)
@@ -118,7 +118,7 @@ set g_balance_uzi_sustained_refire 0.1
 set g_balance_uzi_sustained_spread 0.03
 set g_balance_uzi_switchdelay_drop 0.2
 set g_balance_uzi_switchdelay_raise 0.2
-set g_balance_uzi_weaponreplace ""
+set g_balance_uzi_weaponreplace "arc"
 set g_balance_uzi_weaponstart 0
 set g_balance_uzi_weaponstartoverride -1
 // }}}
index 78443950888f5571f4ec883260577c4391922640..53423fbfe61621b058d93d54c47f1470bf4f704a 100644 (file)
@@ -46,7 +46,7 @@ string wep_config_queue[MAX_WEP_CONFIG];
 #define WEP_CONFIG_WRITE_PROPS_string(wepname,name) \
        { WEP_CONFIG_QUEUE( \
                sprintf("set g_balance_%s_%s \"%s\"\n", #wepname, #name, \
-               cvar(sprintf("g_balance_%s_%s", #wepname, #name)))) }
+               cvar_string(sprintf("g_balance_%s_%s", #wepname, #name)))) }
 
 #define WEP_CONFIG_WRITE_PROPS_float(wepname,name) \
        { WEP_CONFIG_QUEUE( \