diff options
author | Andrey Nazarov <skuller@skuller.net> | 2009-06-03 18:18:55 +0000 |
---|---|---|
committer | Andrey Nazarov <skuller@skuller.net> | 2009-06-03 18:18:55 +0000 |
commit | 9d9b671cc77440e9b3bfcd74288f09a720c0ee6b (patch) | |
tree | ecd94136c7742b1aab73f4e43f9e454cd0c63eba /source/files.c | |
parent | bd27c070620fdc96c5c3e222b3bfe43657ce90c2 (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/files.c')
-rw-r--r-- | source/files.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/files.c b/source/files.c index 7f5b4df..15aa260 100644 --- a/source/files.c +++ b/source/files.c @@ -2469,8 +2469,7 @@ static void FS_SetupGamedir( void ) { } // this one is left for compatibility with server browsers, etc - Cvar_FullSet( "gamedir", fs_game->string, CVAR_ROM|CVAR_SERVERINFO, - CVAR_SET_DIRECT ); + Cvar_FullSet( "gamedir", fs_game->string, CVAR_ROM|CVAR_SERVERINFO, FROM_CODE ); FS_AddGameDirectory( FS_PATH_GAME, "%s/%s", sys_basedir->string, fs_game->string ); |