summaryrefslogtreecommitdiff
path: root/src/net/skillhandler.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2006-11-05 20:57:59 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2006-11-05 20:57:59 +0000
commitaa1989471451e15321357f4422afb79c9a9bae20 (patch)
tree634bc0b3b109a0ded6aa4796e75e9babd5cdf4d6 /src/net/skillhandler.cpp
parentbda06fa4cfb5a3e45310317071f9608bea895e67 (diff)
downloadmana-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/skillhandler.cpp')
-rw-r--r--src/net/skillhandler.cpp4
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;