Fix quest completion of quest 'The City of Light'
--HG-- branch : trunk
This commit is contained in:
@@ -311,9 +311,9 @@ public:
|
|||||||
case 56: DoScriptText(WHISP21, m_creature, pTemp);
|
case 56: DoScriptText(WHISP21, m_creature, pTemp);
|
||||||
if( PlayerGUID )
|
if( PlayerGUID )
|
||||||
{
|
{
|
||||||
Unit* player = (Unit::GetCreature((*m_creature), PlayerGUID));
|
Player* player = (Unit::GetPlayer(PlayerGUID));
|
||||||
if( player && player->GetTypeId() == TYPEID_PLAYER )
|
if( player )
|
||||||
((Player*)player)->GroupEventHappens(10211,m_creature);
|
player->GroupEventHappens(10211,m_creature);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user