summaryrefslogtreecommitdiff
path: root/source/ui_multiplayer.c
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2008-01-22 20:38:08 +0000
committerAndrey Nazarov <skuller@skuller.net>2008-01-22 20:38:08 +0000
commitfd05aeccc1570278e6895a6dada20614f38987fd (patch)
tree3774e17c6c3a1fbf2ed07734c1d61cd047c86700 /source/ui_multiplayer.c
parent7f64f0f576ad50478bdb124365348e815d4f67c9 (diff)
Updated revision to 181.
Renamed `pick' server command to `pickclient'. Pressing `r' key in server browser sets `rcon_password' cvar to selected entry. Made LoadPCX errors more verbose. Fixed 3D viewport positioning in player config menu. Remove `password' key from userinfo when `sv_password' or `sv_reserved_password' variables are set. Reset `sv_anticheat_required' variable when entering MVD client mode. Do not crash GTV when spectator types `nextserver' in console. Do not crash GTV when spectator types `say' without arguments.
Diffstat (limited to 'source/ui_multiplayer.c')
-rw-r--r--source/ui_multiplayer.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/ui_multiplayer.c b/source/ui_multiplayer.c
index 56edce7..61aa0f5 100644
--- a/source/ui_multiplayer.c
+++ b/source/ui_multiplayer.c
@@ -336,6 +336,10 @@ static int JoinServer_MenuCallback( int id, int msg, int param ) {
return QMS_IN;
case QM_KEY:
+ if( param == 'r' ) {
+ cvar.Set( "rcon_address", m_join.servers[m_join.list.curvalue].realAddress );
+ break;
+ }
if( param != 32 ) {
break;
}