diff options
Diffstat (limited to 'src/net/ea')
-rw-r--r-- | src/net/ea/network.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net/ea/network.cpp b/src/net/ea/network.cpp index ab76fd220..7c2963671 100644 --- a/src/net/ea/network.cpp +++ b/src/net/ea/network.cpp @@ -113,7 +113,7 @@ bool Network::connect(ServerInfo server) mToSkip = 0; mState = CONNECTING; - mWorkerThread = SDL::createThread(networkThread, "network", this); + mWorkerThread = SDL::createThread(&networkThread, "network", this); if (!mWorkerThread) { setError("Unable to create network worker thread"); @@ -249,6 +249,7 @@ void Network::receive() { case -1: logger->log1("Error: TcpNet::checkSockets"); + break; // FALLTHROUGH case 0: break; |