From eccf162be2e8cb821087f49dfd9a0885e6c0e73c Mon Sep 17 00:00:00 2001 From: n0n4m3 Date: Thu, 17 Dec 2009 14:06:20 +0100 Subject: Fixed compile errors and some typos --HG-- branch : trunk --- src/bindings/scripts/scripts/eastern_kingdoms/stormwind_city.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/bindings/scripts') diff --git a/src/bindings/scripts/scripts/eastern_kingdoms/stormwind_city.cpp b/src/bindings/scripts/scripts/eastern_kingdoms/stormwind_city.cpp index 6ea696e7ae3..7ee1ad34a6a 100644 --- a/src/bindings/scripts/scripts/eastern_kingdoms/stormwind_city.cpp +++ b/src/bindings/scripts/scripts/eastern_kingdoms/stormwind_city.cpp @@ -454,7 +454,7 @@ struct TRINITY_DLL_DECL npc_marzon_silent_bladeAI : public ScriptedAI { CAST_AI(npc_lord_gregor_lescovarAI, CAST_CRE(pSummoner)->AI())->uiTimer = 2000; CAST_AI(npc_lord_gregor_lescovarAI, CAST_CRE(pSummoner)->AI())->uiPhase = 5; - m_creature->ChangeOrient(0.0f, pSummoner); + //m_creature->ChangeOrient(0.0f, pSummoner); } } } @@ -514,8 +514,6 @@ struct TRINITY_DLL_DECL npc_tyrion_spybotAI : public npc_escortAI switch(uiPointId) { case 1: - if (pTyrion = m_creature->FindNearestCreature(NPC_TYRION, 10.0f, true)) - m_creature->ChangeOrient(0.0f, pTyrion); SetEscortPaused(true); uiTimer = 2000; uiPhase = 1; @@ -528,8 +526,6 @@ struct TRINITY_DLL_DECL npc_tyrion_spybotAI : public npc_escortAI break; case 17: SetEscortPaused(true); - if (pLescovar = m_creature->FindNearestCreature(NPC_LORD_GREGOR_LESCOVAR, 20.0f, true)) - pLescovar->ChangeOrient(0.0f, m_creature); DoScriptText(SAY_SPYBOT_3, m_creature); uiTimer = 3000; uiPhase = 8; -- cgit v1.2.3