*Fix build.
--HG-- branch : trunk
This commit is contained in:
@@ -507,7 +507,7 @@ struct TRINITY_DLL_DECL npc_salanar_the_horsemanAI : public ScriptedAI
|
|||||||
if( ((Player*)charmer)->GetQuestStatus(12680) == QUEST_STATUS_INCOMPLETE )
|
if( ((Player*)charmer)->GetQuestStatus(12680) == QUEST_STATUS_INCOMPLETE )
|
||||||
((Player*)charmer)->KilledMonster(28767, me->GetGUID());
|
((Player*)charmer)->KilledMonster(28767, me->GetGUID());
|
||||||
else if( ((Player*)charmer)->GetQuestStatus(12687) == QUEST_STATUS_INCOMPLETE )
|
else if( ((Player*)charmer)->GetQuestStatus(12687) == QUEST_STATUS_INCOMPLETE )
|
||||||
((Player*)charmer)->GroupEventHappens(12687, me->GetGUID());
|
((Player*)charmer)->GroupEventHappens(12687, me);
|
||||||
((Player*)charmer)->ExitVehicle();
|
((Player*)charmer)->ExitVehicle();
|
||||||
//without this we can see npc kill the horse
|
//without this we can see npc kill the horse
|
||||||
//who->setDeathState(DEAD);
|
//who->setDeathState(DEAD);
|
||||||
|
|||||||
Reference in New Issue
Block a user