diff options
author | Andrey Nazarov <skuller@skuller.net> | 2009-03-24 14:54:32 +0000 |
---|---|---|
committer | Andrey Nazarov <skuller@skuller.net> | 2009-03-24 14:54:32 +0000 |
commit | 385ccd0e9a518933019a8c6f1fecad2ae660b766 (patch) | |
tree | 6b86f96c16a6d89a5803fce5081af64ac76165ab /source/sv_mvd.c | |
parent | fd8cba03f93046e892a732da27f221406f726b7c (diff) |
Implemented a workaround for Q2 pmove bug resulting in swimming velocity in ‘z’ direction being heavily dependent of client's FPS when ‘+moveup’ is used.
New minor Q2PRO protocol version 1015.
Fixed command completion mode cursor positioning.
Disable ‘cl_updaterate’ variable until it is fully supported.
Added ‘sv_waterjump_hack’ variable, enabling the pmove bug workaround described above for supported clients.
Properly count connected MVD spectators in menus.
Update MVD menus as spectators join/leave the channels.
Diffstat (limited to 'source/sv_mvd.c')
-rw-r--r-- | source/sv_mvd.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/sv_mvd.c b/source/sv_mvd.c index a5d34d5..2bd373b 100644 --- a/source/sv_mvd.c +++ b/source/sv_mvd.c @@ -747,6 +747,12 @@ static void emit_frame( void ) { continue; } + if( newes->number != i ) { + Com_WPrintf( "%s: fixing ent->s.number: %d to %d\n", + __func__, newes->number, i ); + newes->number = i; + } + // calculate flags flags = 0; if( i <= sv_maxclients->integer ) { @@ -2076,6 +2082,8 @@ static void SV_MvdRecord_f( void ) { case 'z': gzip = qtrue; break; + default: + return; } } |