diff options
author | thilo <thilo@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2008-04-11 18:39:03 +0000 |
---|---|---|
committer | thilo <thilo@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2008-04-11 18:39:03 +0000 |
commit | a957b652bae5d1a5320eb01c349437bc7197b91a (patch) | |
tree | e0a83c4a59321c9fe728cde2e0572fc8b496e143 /code/ui | |
parent | 23d2a365bdf5b9e2fdf88809db685512e5fddf7c (diff) | |
download | ioquake3-aero-a957b652bae5d1a5320eb01c349437bc7197b91a.tar.gz ioquake3-aero-a957b652bae5d1a5320eb01c349437bc7197b91a.zip |
- Revamp in-game server browser: you can now scan for games on multiple master servers, while retaining compatibility with old QVMs.
- Make Master server reporting/server queries ipv6 capable.
git-svn-id: svn://svn.icculus.org/quake3/trunk@1311 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/ui')
-rw-r--r-- | code/ui/ui_main.c | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/code/ui/ui_main.c b/code/ui/ui_main.c index dcf6743..c06ecdd 100644 --- a/code/ui/ui_main.c +++ b/code/ui/ui_main.c @@ -2495,12 +2495,8 @@ static qboolean UI_NetSource_HandleKey(int flags, float *special, int key) { if (key == K_MOUSE2) { ui_netSource.integer--; - if (ui_netSource.integer == AS_MPLAYER) - ui_netSource.integer--; } else { ui_netSource.integer++; - if (ui_netSource.integer == AS_MPLAYER) - ui_netSource.integer++; } if (ui_netSource.integer >= numNetSources) { @@ -5972,20 +5968,14 @@ static void UI_StartServerRefresh(qboolean full) } uiInfo.serverStatus.refreshtime = uiInfo.uiDC.realTime + 5000; - if( ui_netSource.integer == AS_GLOBAL || ui_netSource.integer == AS_MPLAYER ) { - if( ui_netSource.integer == AS_GLOBAL ) { - i = 0; - } - else { - i = 1; - } + if( ui_netSource.integer == AS_GLOBAL ) { ptr = UI_Cvar_VariableString("debug_protocol"); if (strlen(ptr)) { - trap_Cmd_ExecuteText( EXEC_NOW, va( "globalservers %d %s full empty\n", i, ptr)); + trap_Cmd_ExecuteText( EXEC_NOW, va( "globalservers 0 %s full empty\n", ptr)); } else { - trap_Cmd_ExecuteText( EXEC_NOW, va( "globalservers %d %d full empty\n", i, (int)trap_Cvar_VariableValue( "protocol" ) ) ); + trap_Cmd_ExecuteText( EXEC_NOW, va( "globalservers 0 %d full empty\n", (int)trap_Cvar_VariableValue( "protocol" ) ) ); } } } |