diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-18 16:44:28 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-19 15:12:20 +0300 |
commit | 008bf570587fb34382cca58e8d3fd909c9a621f8 (patch) | |
tree | 379cdc38fd158cbd661ba51425d9c22b1d24aba8 /src/net/tmwa/network.cpp | |
parent | 41238c8f7ab88b2f3ef51a5e1ead58d3ba505c5b (diff) | |
download | mv-008bf570587fb34382cca58e8d3fd909c9a621f8.tar.gz mv-008bf570587fb34382cca58e8d3fd909c9a621f8.tar.bz2 mv-008bf570587fb34382cca58e8d3fd909c9a621f8.tar.xz mv-008bf570587fb34382cca58e8d3fd909c9a621f8.zip |
move virtual member calls from messagein constuctor into postInit.
Diffstat (limited to 'src/net/tmwa/network.cpp')
-rw-r--r-- | src/net/tmwa/network.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net/tmwa/network.cpp b/src/net/tmwa/network.cpp index 515b66c89..8fe89ac52 100644 --- a/src/net/tmwa/network.cpp +++ b/src/net/tmwa/network.cpp @@ -156,6 +156,7 @@ void Network::dispatchMessages() len = readWord(2); MessageIn msg(mInBuffer, len); + msg.postInit(); SDL_mutexV(mMutexIn); BLOCK_END("Network::dispatchMessages 2") BLOCK_START("Network::dispatchMessages 3") |