*Fix build.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-08-16 18:03:26 -05:00
parent bf13d2d5aa
commit 418b161bdc
2 changed files with 3 additions and 2 deletions

View File

@@ -88,8 +88,9 @@ struct TRINITY_DLL_DECL npc_escortAI : public ScriptedAI
bool IsBeingEscorted;
bool IsOnHold;
private:
uint64 m_uiPlayerGUID;
private:
uint32 m_uiWPWaitTimer;
uint32 m_uiPlayerCheckTimer;
float MaxPlayerDistance;

View File

@@ -234,7 +234,7 @@ struct TRINITY_DLL_DECL npc_koltira_deathweaverAI : public npc_escortAI
void JustSummoned(Creature* pSummoned)
{
if (Unit* pPlayer = Unit::GetUnit(*me, PlayerGUID))
if (Unit* pPlayer = Unit::GetUnit(*me, m_uiPlayerGUID))
{
pSummoned->AI()->AttackStart(pPlayer);
pSummoned->AddThreat(me, 0.0f);