mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Remove mixed declaration that triggers ERRORMODE on my setup
This commit is contained in:
parent
de4eddb98e
commit
69a9efeb6f
1 changed files with 2 additions and 1 deletions
|
|
@ -5096,9 +5096,10 @@ static inline void PingUpdate(void)
|
||||||
pingtimeout[i]++;
|
pingtimeout[i]++;
|
||||||
if (pingtimeout[i] > cv_pingtimeout.value) // ok your net has been bad for too long, you deserve to die.
|
if (pingtimeout[i] > cv_pingtimeout.value) // ok your net has been bad for too long, you deserve to die.
|
||||||
{
|
{
|
||||||
pingtimeout[i] = 0;
|
|
||||||
XBOXSTATIC char buf[2];
|
XBOXSTATIC char buf[2];
|
||||||
|
|
||||||
|
pingtimeout[i] = 0;
|
||||||
|
|
||||||
buf[0] = (char)i;
|
buf[0] = (char)i;
|
||||||
buf[1] = KICK_MSG_PING_HIGH;
|
buf[1] = KICK_MSG_PING_HIGH;
|
||||||
SendNetXCmd(XD_KICK, &buf, 2);
|
SendNetXCmd(XD_KICK, &buf, 2);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue