*Thread safe player searcher in scripts.
--HG-- branch : trunk
This commit is contained in:
@@ -109,7 +109,7 @@ struct npc_calvin_montagueAI : public ScriptedAI
|
||||
++m_uiPhase;
|
||||
break;
|
||||
case 2:
|
||||
if (Player *pPlayer = Unit::GetPlayer(m_uiPlayerGUID))
|
||||
if (Player *pPlayer = Unit::GetPlayer(*me, m_uiPlayerGUID))
|
||||
pPlayer->AreaExploredOrEventHappens(QUEST_590);
|
||||
|
||||
DoCast(me, SPELL_DRINK, true);
|
||||
|
||||
Reference in New Issue
Block a user