mirror of
https://github.com/yquake2/3zb2.git
synced 2024-11-21 19:40:59 +00:00
Use a generic path for loading *.chn files.
This commit is contained in:
parent
2a630eaa5a
commit
1bff78ae37
1 changed files with 2 additions and 2 deletions
|
@ -3010,8 +3010,8 @@ void CTFSetupNavSpawn()
|
|||
memset(Route,0,sizeof(Route));
|
||||
memset(code,0,8);
|
||||
|
||||
if(!ctf->value) sprintf(name,".\\%s\\chdtm\\%s.chn",gamepath->string,level.mapname);
|
||||
else sprintf(name,".\\%s\\chctf\\%s.chf",gamepath->string,level.mapname);
|
||||
if(!ctf->value) sprintf(name,"%s/chdtm/%s.chn",gamepath->string,level.mapname);
|
||||
else sprintf(name,"%s/chctf/%s.chf",gamepath->string,level.mapname);
|
||||
|
||||
fpout = fopen(name,"rb");
|
||||
if(fpout == NULL)
|
||||
|
|
Loading…
Reference in a new issue