mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
added sharepath search when loading server list
This commit is contained in:
parent
050b49c479
commit
8ad00b04c3
1 changed files with 6 additions and 0 deletions
|
@ -1139,6 +1139,12 @@ CL_Init (void)
|
|||
if ((servlist = Qopen (va ("%s/servers.txt", e_path), "r"))) {
|
||||
slist = SL_LoadF (servlist, slist);
|
||||
Qclose (servlist);
|
||||
} else {
|
||||
Qexpand_squiggle (fs_sharepath->string, e_path);
|
||||
if ((servlist = Qopen (va ("%s/servers.txt", e_path), "r"))) {
|
||||
slist = SL_LoadF (servlist, slist);
|
||||
Qclose (servlist);
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue