summaryrefslogtreecommitdiff
path: root/source/ui_multiplayer.c
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2009-06-03 18:18:55 +0000
committerAndrey Nazarov <skuller@skuller.net>2009-06-03 18:18:55 +0000
commit9d9b671cc77440e9b3bfcd74288f09a720c0ee6b (patch)
treeecd94136c7742b1aab73f4e43f9e454cd0c63eba /source/ui_multiplayer.c
parentbd27c070620fdc96c5c3e222b3bfe43657ce90c2 (diff)
Don't cap maxmsglen on loopback connections.
Use seperate buffer for stuffcmd processing on client so that something like ‘map foobar;wait;wait;wait;give shells’ works (original Q2 used deferred buffer for this). Don't include netgraph code into release builds. Made ‘changing’ and ‘precache’ commands not available from console, since they may confuse the client when typed manually. Client now handles newlines embedded into ‘cstring’ and ‘cstring2’ layout commands properly. Fixed a crash when displaying inventory. Detect zero bytes embedded into config files and refuse to execute them.
Diffstat (limited to 'source/ui_multiplayer.c')
-rw-r--r--source/ui_multiplayer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/ui_multiplayer.c b/source/ui_multiplayer.c
index eaaa942..b7beec8 100644
--- a/source/ui_multiplayer.c
+++ b/source/ui_multiplayer.c
@@ -298,7 +298,7 @@ static void PingServers( void ) {
static menuSound_t Connect( menuCommon_t *self ) {
serverSlot_t *s = &m_join.servers[m_join.list.curvalue];
- Cbuf_AddText( va( "connect \"%s\"\n", s->realAddress ) );
+ Cbuf_AddText( &cmd_buffer, va( "connect \"%s\"\n", s->realAddress ) );
UI_PopMenu();
return QMS_IN;
}