]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/weapons/w_porto.qc
More work on config
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / weapons / w_porto.qc
index a6164362cc65b0bdd0138c7375fe5944e5a97362..a0eb6cc0ee377fd670beb86f400314c9d1f1a655 100644 (file)
@@ -297,6 +297,15 @@ float w_porto(float req)
                                        
                        return TRUE;
                }
+               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)
+                       PORTO_SETTINGS(porto)
+                       #undef WEP_ADD_CVAR
+                       #undef WEP_ADD_PROP
+                       return TRUE;
+               }
                case WR_THINK:
                {
                        if(WEP_CVAR(porto, secondary))