two redundant lines of code that may have caused a tiny memory leak

This commit is contained in:
ZDarian 2014-12-19 03:11:18 -07:00
parent deb8672446
commit 3995947c1d

View File

@ -46,8 +46,6 @@ AchievementsManager::AchievementsManager()
for (unsigned int i = 0; i < num_nodes; i++)
{
const XMLNode *node = root->getNode(i);
std::string type("");
node->get("type", &type);
AchievementInfo * achievement_info = new AchievementInfo(node);
m_achievements_info[achievement_info->getID()] = achievement_info;
}