[Solved] Achievement Manager Changes

Issue #6 resolved
Matthew Ferrill created an issue

Trinity has changed the Achievement Codestyle.

Core/Achievements: Force all calls to AchievementMgr be done through Player functions (Remove GetAchievementMgr)

In playerbotAI if you just take out GetAchievementMgr it will compile again properly. IE -

case ROLL_NEED: bot->UpdateAchievementCriteria(ACHIEVEMENT_CRITERIA_TYPE_ROLL_NEED, 1); break; case ROLL_GREED: bot->UpdateAchievementCriteria(ACHIEVEMENT_CRITERIA_TYPE_ROLL_GREED, 1); break;

:)

Comments (5)

  1. Log in to comment