From fcca1b79b12e097136692972f1c5e32bdb49fe55 Mon Sep 17 00:00:00 2001 From: Spoike Date: Sun, 8 May 2005 05:59:43 +0000 Subject: [PATCH] fixed updating for server favorites menu. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@996 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/client/m_master.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/engine/client/m_master.c b/engine/client/m_master.c index d1af241ef..2540e4e58 100644 --- a/engine/client/m_master.c +++ b/engine/client/m_master.c @@ -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)