Don't redefine MAX_PATH in bot code
This commit is contained in:
1 parent
39b0702550
commit
815c898bf5
8 files changed
+14
-30
No files matched your search
@@ -160,9 +160,7 @@ punctuation_t default_punctuations[] =
|
||||
{NULL, 0}
|
||||
};
|
||||
|
||||
#ifdef BSPC
|
||||
char basefolder[MAX_PATH];
|
||||
#else
|
||||
#ifdef BOTLIB
|
||||
char basefolder[MAX_QPATH];
|
||||
#endif
|
||||
|
||||
@@ -1441,9 +1439,7 @@ void FreeScript(script_t *script)
|
||||
//============================================================================
|
||||
void PS_SetBaseFolder(char *path)
|
||||
{
|
||||
#ifdef BSPC
|
||||
sprintf(basefolder, path);
|
||||
#else
|
||||
#ifdef BOTLIB
|
||||
Com_sprintf(basefolder, sizeof(basefolder), "%s", path);
|
||||
#endif
|
||||
} //end of the function PS_SetBaseFolder
|
||||
Reference in new issue
Block a user