*Fix quest Grand theft palomino. By kaxap

--HG--
branch : trunk
This commit is contained in:
megamage
2009-08-22 18:12:29 -05:00
parent 36b7060da7
commit 58bafbf2cd

View File

@@ -606,13 +606,14 @@ struct TRINITY_DLL_DECL npc_salanar_the_horsemanAI : public ScriptedAI
{
// for quest Into the Realm of Shadows(12687)
if(me->GetEntry() == 28788 && CAST_PLR(charmer)->GetQuestStatus(12687) == QUEST_STATUS_INCOMPLETE)
{
CAST_PLR(charmer)->GroupEventHappens(12687, me);
CAST_PLR(charmer)->ExitVehicle();
CAST_CRE(who)->Respawn(true);
}
if (CAST_PLR(charmer)->HasAura(REALM_OF_SHADOWS))
charmer->RemoveAurasDueToSpell(REALM_OF_SHADOWS);
CAST_PLR(charmer)->ExitVehicle();
CAST_CRE(who)->Respawn(true);
}
}
}