Fix quest completion of 'The City of Light'

--HG--
branch : trunk
This commit is contained in:
Machiavelli
2009-04-18 16:52:47 +02:00
parent 402a493407
commit 98e9dd0647

View File

@@ -311,9 +311,9 @@ public:
case 56: DoScriptText(WHISP21, m_creature, pTemp);
if( PlayerGUID )
{
Unit* player = (Unit::GetCreature((*m_creature), PlayerGUID));
if( player && player->GetTypeId() == TYPEID_PLAYER )
((Player*)player)->GroupEventHappens(10211,m_creature);
Player* player = (Unit::GetPlayer(PlayerGUID));
if( player )
(player)->GroupEventHappens(10211,m_creature);
}
break;
}