mirror of
https://github.com/UberGames/ioef.git
synced 2024-11-27 14:32:55 +00:00
* Cap the maximum snaps a client can request at the server framerate rather
than a hard-coded 30 (from misantropia). I'm slightly nervous about this since it changes the behaviour versus 1.32b in that a client requesting e.g. 25 snaps will actually get 20 (default sv_fps) with this patch applied. I'm not sure why anyone would want this though -- it may even destablise their inter/extrapolation. I'll leave the bug (2422) open for a while and if no one complains it can be closed.
This commit is contained in:
parent
7d1b5b4acb
commit
b9c9f86cd1
1 changed files with 2 additions and 2 deletions
|
@ -1153,8 +1153,8 @@ void SV_UserinfoChanged( client_t *cl ) {
|
|||
i = atoi(val);
|
||||
if ( i < 1 ) {
|
||||
i = 1;
|
||||
} else if ( i > 30 ) {
|
||||
i = 30;
|
||||
} else if ( i > sv_fps->integer ) {
|
||||
i = sv_fps->integer;
|
||||
}
|
||||
cl->snapshotMsec = 1000/i;
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue