Core/Scripts: Fix script text typo for Vorsha the Lasher

Author: Kaelima
Fixes issue #4421

--HG--
branch : trunk
This commit is contained in:
Machiavelli
2010-11-09 10:45:11 +01:00
parent f5f80a5344
commit cca3231b92
+2 -1
View File
@@ -352,10 +352,11 @@ class npc_muglash : public CreatureScript
void EnterCombat(Unit* /*pWho*/) void EnterCombat(Unit* /*pWho*/)
{ {
if (Player* pPlayer = GetPlayerForEscort())
if (HasEscortState(STATE_ESCORT_PAUSED)) if (HasEscortState(STATE_ESCORT_PAUSED))
{ {
if (urand(0, 1)) if (urand(0, 1))
DoScriptText(SAY_MUG_ON_GUARD, me); DoScriptText(SAY_MUG_ON_GUARD, me, pPlayer);
return; return;
} }
} }