always dump configs into quake/fte

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1522 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2005-10-20 22:43:10 +00:00
parent bab78c82a5
commit b606b001a0

View file

@ -2698,7 +2698,7 @@ void Cmd_WriteConfig_f(void)
Con_Printf ("Couldn't write config %s\n",filename); Con_Printf ("Couldn't write config %s\n",filename);
return; return;
} }
filename = va("%s/%s.cfg",com_gamedir, filename); filename = va("%s/fte/%s.cfg",com_basedir, filename);
} }
else else
{ {
@ -2708,7 +2708,7 @@ void Cmd_WriteConfig_f(void)
return; return;
} }
filename = va("%s/configs/%s.cfg",com_gamedir, filename); filename = va("%s/fte/configs/%s.cfg",com_basedir, filename);
} }
COM_DefaultExtension(filename, ".cfg"); COM_DefaultExtension(filename, ".cfg");
COM_CreatePath(filename); COM_CreatePath(filename);