two redundant lines of code that may have caused a tiny memory leak
This commit is contained in:
parent
deb8672446
commit
3995947c1d
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user