diff options
Diffstat (limited to 'src/net/tmwa/network.cpp')
-rw-r--r-- | src/net/tmwa/network.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/tmwa/network.cpp b/src/net/tmwa/network.cpp index 7aa9ad7d2..b96cfd2b5 100644 --- a/src/net/tmwa/network.cpp +++ b/src/net/tmwa/network.cpp @@ -290,12 +290,12 @@ void Network::skip(int len) bool Network::messageReady() { - int len = -1, msgId; + int len = -1; SDL_mutexP(mMutex); if (mInSize >= 2) { - msgId = readWord(0); + int msgId = readWord(0); if (msgId == SMSG_SERVER_VERSION_RESPONSE) len = 10; else |