diff options
author | Andrey Nazarov <skuller@skuller.net> | 2007-09-26 16:46:06 +0000 |
---|---|---|
committer | Andrey Nazarov <skuller@skuller.net> | 2007-09-26 16:46:06 +0000 |
commit | 46fffc982f93b82a695861493b0b6c9ce668b23a (patch) | |
tree | 2a7a312f6a567822b4569a5c7ad1f44e86ce6e55 /source/sv_main.c | |
parent | a56ee6e51d88e099bd24ef24614a4323d49f2ceb (diff) |
Implemented GAME_FEATURE_MVDSPEC.
Diffstat (limited to 'source/sv_main.c')
-rw-r--r-- | source/sv_main.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/sv_main.c b/source/sv_main.c index 58c1c59..21d2935 100644 --- a/source/sv_main.c +++ b/source/sv_main.c @@ -723,6 +723,9 @@ static void SVC_DirectConnect( void ) { Q_strncpyz( userinfo, info, sizeof( userinfo ) ); + // make sure mvdspec key is not set + Info_RemoveKey( userinfo, "mvdspec" ); + // force the IP key/value pair so the game can filter based on ip s = NET_AdrToString( &net_from ); if( !Info_AttemptSetValueForKey( userinfo, "ip", s ) ) { @@ -793,6 +796,9 @@ static void SVC_DirectConnect( void ) { newcl->pmp.flyfriction = 9; newcl->pmp.waterfriction = 1; newcl->pmp.airaccelerate = sv_airaccelerate->integer ? qtrue : qfalse; +#ifdef PMOVE_HACK + newcl->pmp.highprec = qtrue; +#endif // r1q2 extensions if( protocol == PROTOCOL_VERSION_R1Q2 || |