fix crash with Q2 server, server/client handles Q2 map checksum, server sets Q2 airaccelerate on init

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2177 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
TimeServ 2006-04-08 05:43:53 +00:00
parent 1adb96907a
commit e40c7f8a87
4 changed files with 30 additions and 3 deletions

View file

@ -2732,9 +2732,8 @@ void Cmd_WriteConfig_f(void)
return;
}
filename = va("configs/%s.cfg",filename);
filename = va("configs/%s",filename);
}
COM_StripExtension(filename, fname, sizeof(fname));
COM_DefaultExtension(fname, ".cfg", sizeof(fname));
FS_CreatePath(filename, FS_CONFIGONLY);
f = FS_OpenVFS(filename, "wb", FS_CONFIGONLY);