diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2006-11-05 20:57:59 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2006-11-05 20:57:59 +0000 |
commit | aa1989471451e15321357f4422afb79c9a9bae20 (patch) | |
tree | 634bc0b3b109a0ded6aa4796e75e9babd5cdf4d6 /src/net/beinghandler.cpp | |
parent | bda06fa4cfb5a3e45310317071f9608bea895e67 (diff) | |
download | mana-aa1989471451e15321357f4422afb79c9a9bae20.tar.gz mana-aa1989471451e15321357f4422afb79c9a9bae20.tar.bz2 mana-aa1989471451e15321357f4422afb79c9a9bae20.tar.xz mana-aa1989471451e15321357f4422afb79c9a9bae20.zip |
Changed some printf statements to log statements.
Diffstat (limited to 'src/net/beinghandler.cpp')
-rw-r--r-- | src/net/beinghandler.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/net/beinghandler.cpp b/src/net/beinghandler.cpp index cd5653fc..85760112 100644 --- a/src/net/beinghandler.cpp +++ b/src/net/beinghandler.cpp @@ -256,7 +256,7 @@ void BeingHandler::handleMessage(MessageIn *msg) { break; } - + int type = msg->readInt8(); switch (type) { @@ -278,7 +278,7 @@ void BeingHandler::handleMessage(MessageIn *msg) dstBeing->setHairColor(msg->readInt8()); break; default: - printf("c3: %i\n", msg->readInt8()); // unsupported + logger->log("c3: %i\n", msg->readInt8()); // unsupported break; } } @@ -370,9 +370,9 @@ void BeingHandler::handleMessage(MessageIn *msg) case 0x0119: // Change in players look - printf("0x0119 %i %i %i %x %i\n", msg->readInt32(), - msg->readInt16(), msg->readInt16(), msg->readInt16(), - msg->readInt8()); + logger->log("0x0119 %i %i %i %x %i\n", msg->readInt32(), + msg->readInt16(), msg->readInt16(), msg->readInt16(), + msg->readInt8()); break; } } |