Core/Achievements: port realm first achievement handling from master

veeeery partial cherry-pick of c75fcbe20b
This commit is contained in:
ariel-
2017-03-02 01:07:05 -03:00
parent 7072bf8c02
commit 4596c17dae
4 changed files with 47 additions and 40 deletions

View File

@@ -35,7 +35,6 @@
#include "Player.h"
#include "WorldSession.h"
#include "Opcodes.h"
#include "AchievementMgr.h"
MapManager::MapManager()
: _nextInstanceId(0), _scheduledScripts(0)
@@ -370,5 +369,4 @@ void MapManager::FreeInstanceId(uint32 instanceId)
SetNextInstanceId(instanceId);
_instanceIds[instanceId] = false;
sAchievementMgr->OnInstanceDestroyed(instanceId);
}