diff options
author | Loic Blot <loic.blot@unix-experience.fr> | 2015-04-07 14:28:36 +0200 |
---|---|---|
committer | Loic Blot <loic.blot@unix-experience.fr> | 2015-04-07 14:28:36 +0200 |
commit | 5132908f4b834c344d19dcb20939cda175fc82a4 (patch) | |
tree | daf79a653b1e59a0163cd072263b126e43090bd0 /src | |
parent | 3c6e112c289e73b8dfb8e1bcc74f9bd5c24b8f7d (diff) | |
download | minetest-5132908f4b834c344d19dcb20939cda175fc82a4.tar.gz minetest-5132908f4b834c344d19dcb20939cda175fc82a4.tar.bz2 minetest-5132908f4b834c344d19dcb20939cda175fc82a4.zip |
TOCLIENT_ACTIVE_OBJECT_MESSAGES: channel must be 1 for unreliable message
Diffstat (limited to 'src')
-rw-r--r-- | src/server.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server.cpp b/src/server.cpp index cb62f7e86..6597ee64f 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -1911,7 +1911,7 @@ void Server::SendActiveObjectMessages(u16 peer_id, const std::string &datas, boo pkt.putRawString(datas.c_str(), datas.size()); m_clients.send(pkt.getPeerId(), - clientCommandFactoryTable[pkt.getCommand()].channel, + reliable ? clientCommandFactoryTable[pkt.getCommand()].channel : 1, &pkt, reliable); } |