diff options
Diffstat (limited to 'src/net/tmwa')
-rw-r--r-- | src/net/tmwa/network.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/net/tmwa/network.cpp b/src/net/tmwa/network.cpp index c25774d9b..c1020ebeb 100644 --- a/src/net/tmwa/network.cpp +++ b/src/net/tmwa/network.cpp @@ -38,6 +38,8 @@ #include "debug.h" +namespace TmwAthena +{ /** Warning: buffers and other variables are shared, so there can be only one connection active at a time */ @@ -90,9 +92,6 @@ short packet_lengths[] = const unsigned int BUFFER_SIZE = 655360; -namespace TmwAthena -{ - int networkThread(void *data) { Network *network = static_cast<Network*>(data); @@ -345,8 +344,9 @@ MessageIn Network::getNextMessage() if (len == -1) len = readWord(2); -#ifdef DEBUG - logger->log("Received packet 0x%x of length %d\n", msgId, len); +#ifdef ENABLEDEBUGLOG +// logger->dlog(strprintf("Received packet 0x%x of length %d\n", +// msgId, len)); #endif MessageIn msg(mInBuffer, len); |