Maelstrom: Fixed a bug with input dropping under network packet loss conditions.

https://github.com/libsdl-org/Maelstrom/commit/6870be7e71eb6084d8e417130d17c94b2a9ac93d

From 6870be7e71eb6084d8e417130d17c94b2a9ac93d Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Sat, 26 Nov 2011 22:11:10 -0500
Subject: [PATCH] Fixed a bug with input dropping under network packet loss
 conditions.

---
 game/netplay.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/game/netplay.cpp b/game/netplay.cpp
index 16a52ffc..e089fb12 100644
--- a/game/netplay.cpp
+++ b/game/netplay.cpp
@@ -395,7 +395,6 @@ error("Received packet for really old frame! (%lu, current = %lu)\r\n",
 static void AdvanceFrame()
 {
 	CurrOut = !CurrOut;
-	QueuedInput.Reset();
 	++NextFrame;
 	AdvancedFrame = true;
 }
@@ -451,6 +450,7 @@ SYNC_RESULT SyncNetwork(void)
 		// Wait for sync packets from them
 		result = AwaitSync();
 	}
+	QueuedInput.Reset();
 
 	if (result == SYNC_COMPLETE) {
 		AdvanceFrame();