Core: Fix build

This commit is contained in:
Vincent_Michael
2013-01-03 18:15:23 +01:00
parent 6889f7cde6
commit f6ee4e3769

View File

@@ -1846,7 +1846,7 @@ template<>
void AchievementMgr<Player>::CompletedAchievement(AchievementEntry const* achievement, Player* referencePlayer)
{
sLog->outInfo(LOG_FILTER_ACHIEVEMENTSYS, "AchievementMgr::CompletedAchievement(%u). Player: %s (%u)",
achievement->ID, m_player->GetName().c_str(), m_player->GetGUIDLow());
achievement->ID, GetOwner()->GetName().c_str(), GetOwner()->GetGUIDLow());
// disable for gamemasters with GM-mode enabled
if (GetOwner()->isGameMaster())