More refactoring of code.
This commit is contained in:
@@ -267,7 +267,7 @@ namespace Scripts.Outlands
|
||||
{
|
||||
public npc_kayra_longmane() : base("npc_kayra_longmane") { }
|
||||
|
||||
class npc_kayra_longmaneAI : npc_escortAI
|
||||
class npc_kayra_longmaneAI : NpcEscortAI
|
||||
{
|
||||
public npc_kayra_longmaneAI(Creature creature) : base(creature) { }
|
||||
|
||||
@@ -312,7 +312,7 @@ namespace Scripts.Outlands
|
||||
{
|
||||
creature.GetAI().Talk(SAY_START, player);
|
||||
|
||||
npc_escortAI pEscortAI = (npc_kayra_longmaneAI)creature.GetAI();
|
||||
NpcEscortAI pEscortAI = (npc_kayra_longmaneAI)creature.GetAI();
|
||||
if (pEscortAI != null)
|
||||
pEscortAI.Start(false, false, player.GetGUID());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user