More care in check_frames code so we don't check CRCs from a previous
connection
This commit is contained in:
parent
c81b022a7d
commit
ae92cfeac2
|
@ -380,7 +380,7 @@ static bool netplay_get_cmd(netplay_t *netplay)
|
||||||
* arithmetic. */
|
* arithmetic. */
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
if (netplay->buffer[tmp_ptr].frame == buffer[0])
|
if (netplay->buffer[tmp_ptr].used && netplay->buffer[tmp_ptr].frame == buffer[0])
|
||||||
{
|
{
|
||||||
found = true;
|
found = true;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue