summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-02-13 01:11:50 +0300
committerAndrei Karas <akaras@inbox.ru>2013-02-13 01:11:50 +0300
commit308e352fbf2fd4f96d797e596fc41083e53e6106 (patch)
treee874de1b2ebcaec013f6b1c3363faacc698a438d /src/net/tmwa
parentc67648bcc2ebd94da7ad90dc1f886b9f8206de8e (diff)
downloadmv-308e352fbf2fd4f96d797e596fc41083e53e6106.tar.gz
mv-308e352fbf2fd4f96d797e596fc41083e53e6106.tar.bz2
mv-308e352fbf2fd4f96d797e596fc41083e53e6106.tar.xz
mv-308e352fbf2fd4f96d797e596fc41083e53e6106.zip
Fix code style.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/network.cpp4
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);
}