From c390ec7befcfeeda8504bdd74eb823b7ab721bf3 Mon Sep 17 00:00:00 2001 From: Yohann Ferreira Date: Tue, 20 Dec 2005 21:08:00 +0000 Subject: Adding command line argument parsing and log verbosity level handling. --- src/skill.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/skill.cpp') diff --git a/src/skill.cpp b/src/skill.cpp index 12ead5c..fab7416 100644 --- a/src/skill.cpp +++ b/src/skill.cpp @@ -59,9 +59,9 @@ bool Skill::addSkill(const std::string &ident, Skill *skill) { bool Skill::useSkill() { #ifdef SCRIPT_SUPPORT //run skill script - LOG_ERROR("Skill: Skills not implemented.") + LOG_ERROR("Skill: Skills not implemented.", 0) #else - LOG_ERROR("Skill: Could not use skill; scripting disabled.") + LOG_ERROR("Skill: Could not use skill; scripting disabled.", 0) #endif return true; } @@ -74,7 +74,7 @@ bool Skill::setScript(const std::string &scriptName) bool Skill::deleteSkill(const std::string &ident, bool delTree) { //prevent deletion of self if (ident == id) { - LOG_ERROR("Skill: Attempt to delete self.") + LOG_ERROR("Skill: Attempt to delete self.", 0) return false; } -- cgit