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:
parent
05ace9bdcb
commit
aeea639fc2
36 changed files with 647 additions and 298 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue