ignore the DEPRECATED_SKILLS warnings

This commit is contained in:
CodeCodon
2015-07-14 15:21:05 -05:00
parent d49e38c3fd
commit 79057284be
@@ -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;
}