Filename security paranoia. Added a glsl extension to the shader system. using serverinfo, you can enable shaders without cheats now.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2079 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2006-03-11 03:12:10 +00:00
parent 05ace9bdcb
commit aeea639fc2
36 changed files with 647 additions and 298 deletions

View file

@ -1596,7 +1596,7 @@ void P_ReadPointFile_f (void)
char line[1024];
char *s;
COM_StripExtension(cl.worldmodel->name, name);
COM_StripExtension(cl.worldmodel->name, name, sizeof(name));
strcat(name, ".pts");
f = FS_OpenVFS(name, "rb", FS_GAME);