diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2007-03-31 10:23:00 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2007-03-31 10:23:00 +0000 |
commit | eba3a8635b308475aa4bcfc5f5cd058c48ed679d (patch) | |
tree | c6c44e6d8d53f97d6fed0177fe5a07ce432a4b0e /src/net/netcomputer.cpp | |
parent | bd9b9a04c0ec07c957014d0679d386c7b42e5312 (diff) | |
download | manaserv-eba3a8635b308475aa4bcfc5f5cd058c48ed679d.tar.gz manaserv-eba3a8635b308475aa4bcfc5f5cd058c48ed679d.tar.bz2 manaserv-eba3a8635b308475aa4bcfc5f5cd058c48ed679d.tar.xz manaserv-eba3a8635b308475aa4bcfc5f5cd058c48ed679d.zip |
Moved writing of outgoing messages into MessageOut and added printing of the
message ID.
Diffstat (limited to 'src/net/netcomputer.cpp')
-rw-r--r-- | src/net/netcomputer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/netcomputer.cpp b/src/net/netcomputer.cpp index d35779da..47d7ea1a 100644 --- a/src/net/netcomputer.cpp +++ b/src/net/netcomputer.cpp @@ -64,7 +64,7 @@ void NetComputer::send(const MessageOut &msg, bool reliable, unsigned int channel) { - LOG_DEBUG("Sending packet of length " << msg.getLength() << " to " << *this); + LOG_DEBUG("Sending message " << msg << " to " << *this); ENetPacket *packet; packet = enet_packet_create(msg.getData(), |