does that fix anything?
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4393 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
8aae46a71b
commit
918c67c691
1 changed files with 5 additions and 4 deletions
|
@ -28,7 +28,8 @@ void *SVQ2_GetGameAPI (void *parms)
|
|||
};
|
||||
|
||||
char name[MAX_OSPATH];
|
||||
char *searchpath;
|
||||
char searchpath[MAX_OSPATH];
|
||||
void *iterator;
|
||||
int o;
|
||||
const char *gamename[] = {
|
||||
#ifdef _DEBUG
|
||||
|
@ -44,10 +45,10 @@ void *SVQ2_GetGameAPI (void *parms)
|
|||
|
||||
void *ret;
|
||||
|
||||
Con_DPrintf("Searching for %s\n", gamename[o]);
|
||||
Con_DPrintf("Searching for %s\n", "game" ARCH_CPU_POSTFIX ARCH_DL_POSTFIX);
|
||||
|
||||
searchpath = 0;
|
||||
while((searchpath = COM_NextPath(searchpath)))
|
||||
iterator = NULL;
|
||||
while(COM_IteratePaths(&iterator, searchpath, sizeof(searchpath)))
|
||||
{
|
||||
for (o = 0; gamename[o]; o++)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue