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 40106ebfa..957fdd5a3 100644 --- a/src/net/tmwa/network.cpp +++ b/src/net/tmwa/network.cpp @@ -92,10 +92,10 @@ static const int messagesSize = 0xffff; Network *Network::mInstance = nullptr; Network::Network() : - Ea::Network() + Ea::Network(), + mMessageHandlers(new MessageHandler*[messagesSize]) { mInstance = this; - mMessageHandlers = new MessageHandler*[messagesSize]; memset(&mMessageHandlers[0], 0, sizeof(MessageHandler*) * 0xffff); } |