]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/weapons/w_fireball.qc
More work on config
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / weapons / w_fireball.qc
index 72a597712542b224cd669d6d4d2458f2fdd5991b..f2a558fc295f2b197bbe109efda8f7c0310938f0 100644 (file)
@@ -414,6 +414,15 @@ float w_fireball(float req)
                {
                        return TRUE; // fireball has infinite ammo
                }
+               case WR_CONFIG:
+               {
+                       #define WEP_ADD_CVAR(weapon,mode,name) WEP_CONFIG_WRITE_CVARS(weapon,mode,name)
+                       #define WEP_ADD_PROP(weapon,prop,name) WEP_CONFIG_WRITE_PROPS(weapon,prop,name)
+                       FIREBALL_SETTINGS(fireball)
+                       #undef WEP_ADD_CVAR
+                       #undef WEP_ADD_PROP
+                       return TRUE;
+               }
                case WR_RESETPLAYER:
                {
                        self.fireball_primarytime = time;