added sharepath search when loading server list

This commit is contained in:
Chris Ison 2001-03-03 06:01:57 +00:00
parent 050b49c479
commit 8ad00b04c3

View file

@ -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);
}
}
//