diff --git a/network/netplay/netplay.c b/network/netplay/netplay.c index b3b818266a..79e0f8f212 100644 --- a/network/netplay/netplay.c +++ b/network/netplay/netplay.c @@ -217,10 +217,13 @@ static bool netplay_get_cmd(netplay_t *netplay) switch (cmd) { case NETPLAY_CMD_ACK: - case NETPLAY_CMD_NAK: /* Why are we even bothering? */ return true; + case NETPLAY_CMD_NAK: + /* Disconnect now! */ + return false; + case NETPLAY_CMD_INPUT: { uint32_t buffer[WORDS_PER_FRAME]; @@ -243,8 +246,7 @@ static bool netplay_get_cmd(netplay_t *netplay) if (buffer[0] != netplay->read_frame_count) { - /* FIXME: Except on the first (null) frame, this should be - * impossible, so maybe just disconnect? */ + /* Out of order = out of luck */ return netplay_cmd_nak(netplay); }