mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-22 20:51:31 +00:00
Stop Visual C++ to complain about uninitialized variable
This commit is contained in:
parent
1ee09e3c20
commit
5d4c165b19
1 changed files with 2 additions and 1 deletions
|
@ -682,7 +682,8 @@ CL_SendCmd(void)
|
||||||
if (cls.netchan.message.cursize ||
|
if (cls.netchan.message.cursize ||
|
||||||
(curtime - cls.netchan.last_sent > 100))
|
(curtime - cls.netchan.last_sent > 100))
|
||||||
{
|
{
|
||||||
Netchan_Transmit(&cls.netchan, 0, buf.data);
|
byte zero_data = 0;
|
||||||
|
Netchan_Transmit(&cls.netchan, 0, &zero_data);
|
||||||
}
|
}
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue