Remove mixed declaration that triggers ERRORMODE on my setup

This commit is contained in:
Sally Cochenour 2019-02-26 17:33:10 -05:00
parent c543c35b91
commit 1d3adb0491
1 changed files with 2 additions and 1 deletions

View File

@ -5096,9 +5096,10 @@ static inline void PingUpdate(void)
pingtimeout[i]++;
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];
pingtimeout[i] = 0;
buf[0] = (char)i;
buf[1] = KICK_MSG_PING_HIGH;
SendNetXCmd(XD_KICK, &buf, 2);