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:
Mark Olsen 2005-08-10 23:08:52 +00:00
parent b17bedde4a
commit 0a96f18230
1 changed files with 1 additions and 1 deletions

View File

@ -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)