mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 22:51:57 +00:00
That's MAX_QPATH, not MAX_PATH.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1216 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
b17bedde4a
commit
0a96f18230
1 changed files with 1 additions and 1 deletions
|
@ -3138,7 +3138,7 @@ qbyte *CSQC_PRLoadFile (char *path, void *buffer, int bufsize)
|
|||
if (!strcmp(path, "csprogs.dat"))
|
||||
{
|
||||
char newname[MAX_QPATH];
|
||||
_snprintf(newname, MAX_PATH, "csprogsvers/%x.dat", csqcchecksum);
|
||||
_snprintf(newname, MAX_QPATH, "csprogsvers/%x.dat", csqcchecksum);
|
||||
|
||||
file = COM_LoadStackFile(newname, buffer, bufsize);
|
||||
if (file)
|
||||
|
|
Loading…
Reference in a new issue