mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-22 02:42:20 +00:00
Merge branch 'increase-input-buffer-more' into 'next'
Increase the length of the player input buffer even more See merge request STJr/SRB2!951
This commit is contained in:
commit
22459df1f1
2 changed files with 2 additions and 2 deletions
|
@ -5505,7 +5505,7 @@ void NetUpdate(void)
|
|||
// update node latency values so we can take an average later.
|
||||
for (i = 0; i < MAXPLAYERS; i++)
|
||||
if (playeringame[i] && playernode[i] != UINT8_MAX)
|
||||
realpingtable[i] += G_TicsToMilliseconds(GetLag(playernode[i]));
|
||||
realpingtable[i] += GetLag(playernode[i]) * (1000.00f / TICRATE);
|
||||
pingmeasurecount++;
|
||||
}
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@ applications may follow different packet versions.
|
|||
// be transmitted.
|
||||
|
||||
// Networking and tick handling related.
|
||||
#define BACKUPTICS 96
|
||||
#define BACKUPTICS 1024
|
||||
#define CLIENTBACKUPTICS 32
|
||||
#define MAXTEXTCMD 256
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue