Fix displaying LAN servers

LAN servers should be always visible, when user opens serverbrowser with
LAN servers only. And don't allow to switch from there to alternate views,
because for searchlan = 2 it doesn't make sense.
This commit is contained in:
aurhat
2015-08-22 13:50:20 +02:00
parent 06f59e0559
commit c27e5e05d2
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -879,6 +879,7 @@ const char *favcatcheck(serverinfo &si, const char *ckeys, char *autokeys = NULL
void serverbrowseralternativeviews(int shiftdirection)
{
if(searchlan == 2) return;
const char *ckeys = getalias("serverbrowseraltviews");
if(!ckeys) return;
const char *sep = " \t\n\r";