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/skillhandler.cpp | |
parent | bda06fa4cfb5a3e45310317071f9608bea895e67 (diff) | |
download | mana-client-aa1989471451e15321357f4422afb79c9a9bae20.tar.gz mana-client-aa1989471451e15321357f4422afb79c9a9bae20.tar.bz2 mana-client-aa1989471451e15321357f4422afb79c9a9bae20.tar.xz mana-client-aa1989471451e15321357f4422afb79c9a9bae20.zip |
Changed some printf statements to log statements.
Diffstat (limited to 'src/net/skillhandler.cpp')
-rw-r--r-- | src/net/skillhandler.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/net/skillhandler.cpp b/src/net/skillhandler.cpp index e9dc9c19..828c2378 100644 --- a/src/net/skillhandler.cpp +++ b/src/net/skillhandler.cpp @@ -26,6 +26,8 @@ #include "messagein.h" #include "protocol.h" +#include "../log.h" + #include "../gui/chat.h" #include "../gui/skill.h" @@ -85,7 +87,7 @@ void SkillHandler::handleMessage(MessageIn *msg) if (action.success != SKILL_FAILED && action.bskill == BSKILL_EMOTE) { - printf("Action: %d/%d", action.bskill, action.success); + logger->log("Action: %d/%d", action.bskill, action.success); } chatWindow->chatLog(action); break; |