-
Notifications
You must be signed in to change notification settings - Fork 157
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
server: don't delta from pre-map restart messages
During map restart, client->deltaActive is set to false for active clients via SV_ClientEnterWorld. This typically causes one non-delta snapshot to be sent, but as client moves come in, client->deltaActive is set back to true, and subsequent snapshots have delta enabled even though the source frame may be prior to the map restart. This restores the behavior prior to 250179b where snapshots are non-delta until a post-restart frame is available, regardless of client commands. I don't expect this makes much difference in practice, but it is more consistent and perhaps a bit safer to stick to the original behavior in case of theoretical snapshot overflow issues.
- Loading branch information
Showing
3 changed files
with
5 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters