From 79057284be47a99a0fe20534f8d699bda408d2e4 Mon Sep 17 00:00:00 2001 From: CodeCodon Date: Tue, 14 Jul 2015 15:21:05 -0500 Subject: [PATCH] ignore the DEPRECATED_SKILLS warnings --- .../library/sharedSkillSystem/src/shared/SkillObject.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/engine/shared/library/sharedSkillSystem/src/shared/SkillObject.cpp b/engine/shared/library/sharedSkillSystem/src/shared/SkillObject.cpp index 016703cd..3129b768 100644 --- a/engine/shared/library/sharedSkillSystem/src/shared/SkillObject.cpp +++ b/engine/shared/library/sharedSkillSystem/src/shared/SkillObject.cpp @@ -438,7 +438,8 @@ void SkillObject::connectLinks(DataTable &dataTable, const std::string & parentN } else { - WARNING (true, ("Could not find skill %s in DataTable", nextSkillName.c_str())); + if (nextSkillName.c_str() != "DEPRECATED_SKILLS") + WARNING (true, ("Could not find skill %s in DataTable", nextSkillName.c_str())); } } } @@ -468,7 +469,8 @@ bool SkillObject::load(DataTable & dataTable, const std::string & skillName) if (skillRow == -1) { skillData = SkillData(); - WARNING (true, ("SkillObject::load Could not find skill %s in DataTable", skillName.c_str())); + if (skillName.c_str() != "DEPRECATED_SKILLS") + WARNING (true, ("SkillObject::load Could not find skill %s in DataTable", skillName.c_str())); return false; }