summaryrefslogtreecommitdiff
path: root/src/skill.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/skill.cpp')
-rw-r--r--src/skill.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/skill.cpp b/src/skill.cpp
index 12ead5c4..fab74163 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;
}