mirror of
https://github.com/yquake2/3zb2.git
synced 2024-11-24 21:01:55 +00:00
Use a generic path for 3ZBConfig.cfg.
Otherwise the file will not be loaded on Unix. And trust the VFS that it does the right thing(tm).
This commit is contained in:
parent
9174879424
commit
e4f3f07dfc
1 changed files with 2 additions and 2 deletions
|
@ -85,11 +85,11 @@ void Load_BotInfo()
|
|||
gamepath = gi.cvar ("game", "0", CVAR_NOSET);
|
||||
|
||||
//load info
|
||||
sprintf(Buff,".\\%s\\3ZBconfig.cfg",gamepath->string);
|
||||
sprintf(Buff,"%s/3ZBConfig.cfg",gamepath->string);
|
||||
fp = fopen(Buff,"rt");
|
||||
if(fp == NULL)
|
||||
{
|
||||
gi.dprintf("3ZB CFG: file not found.\n");
|
||||
gi.dprintf("3ZB CFG: file not found: %s\n", Buff);
|
||||
return;
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue