mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-29 23:22:01 +00:00
fixed updating for server favorites menu.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@996 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
c35d18a7a3
commit
fcca1b79b1
1 changed files with 5 additions and 5 deletions
|
@ -702,7 +702,7 @@ void M_SListKey(int key)
|
|||
if (slist_option<0)
|
||||
slist_option=0;
|
||||
|
||||
if (slist_type == SLISTTYPE_SERVERS)
|
||||
if (slist_type == SLISTTYPE_SERVERS || slist_type == SLISTTYPE_FAVORITES)
|
||||
SListOptionChanged(M_FindCurrentServer()); //go for these early.
|
||||
}
|
||||
else if (key == K_DOWNARROW)
|
||||
|
@ -711,7 +711,7 @@ void M_SListKey(int key)
|
|||
if (slist_option >= slist_numoptions)
|
||||
slist_option = slist_numoptions-1;
|
||||
|
||||
if (slist_type == SLISTTYPE_SERVERS)
|
||||
if (slist_type == SLISTTYPE_SERVERS || slist_type == SLISTTYPE_FAVORITES)
|
||||
SListOptionChanged(M_FindCurrentServer()); //go for these early.
|
||||
}
|
||||
else if (key == K_PGDN)
|
||||
|
@ -720,7 +720,7 @@ void M_SListKey(int key)
|
|||
if (slist_option >= slist_numoptions)
|
||||
slist_option = slist_numoptions-1;
|
||||
|
||||
if (slist_type == SLISTTYPE_SERVERS)
|
||||
if (slist_type == SLISTTYPE_SERVERS || slist_type == SLISTTYPE_FAVORITES)
|
||||
SListOptionChanged(M_FindCurrentServer()); //go for these early.
|
||||
}
|
||||
else if (key == K_PGUP)
|
||||
|
@ -729,14 +729,14 @@ void M_SListKey(int key)
|
|||
if (slist_option<0)
|
||||
slist_option=0;
|
||||
|
||||
if (slist_type == SLISTTYPE_SERVERS)
|
||||
if (slist_type == SLISTTYPE_SERVERS || slist_type == SLISTTYPE_FAVORITES)
|
||||
SListOptionChanged(M_FindCurrentServer()); //go for these early.
|
||||
}
|
||||
else if (key == 'r')
|
||||
MasterInfo_Begin();
|
||||
else if (key == K_SPACE)
|
||||
{
|
||||
if (slist_type == SLISTTYPE_SERVERS)
|
||||
if (slist_type == SLISTTYPE_SERVERS || slist_type == SLISTTYPE_FAVORITES)
|
||||
{
|
||||
selectedserver.inuse = !selectedserver.inuse;
|
||||
if (selectedserver.inuse)
|
||||
|
|
Loading…
Reference in a new issue