Core/Achievements: Fixed realm first kill achievement restrictions - now only the first group will be able to complete it

Closes #2957
This commit is contained in:
Shauren
2014-09-20 19:07:39 +02:00
parent b5cd540758
commit d87c23cdaf
3 changed files with 30 additions and 11 deletions

View File

@@ -36,6 +36,7 @@
#include "Player.h"
#include "WorldSession.h"
#include "Opcodes.h"
#include "AchievementMgr.h"
MapManager::MapManager()
{
@@ -393,4 +394,5 @@ void MapManager::FreeInstanceId(uint32 instanceId)
SetNextInstanceId(instanceId);
_instanceIds[instanceId] = false;
sAchievementMgr->OnInstanceDestroyed(instanceId);
}