diff options
| author | Blaymoira <none@none> | 2008-12-26 17:49:45 +0100 |
|---|---|---|
| committer | Blaymoira <none@none> | 2008-12-26 17:49:45 +0100 |
| commit | db1a5d4ba015657706d0b89eca5cb7232a8512d1 (patch) | |
| tree | b1dec56aae19397dc38cd97a2935a5570fce3c38 /src/bindings/scripts | |
| parent | 9cd608739d817034621010c5bbc1ee7991822946 (diff) | |
*Add condition for ghostlands.cpp
*Remove unused creature_movement - by EIFEL
--HG--
branch : trunk
Diffstat (limited to 'src/bindings/scripts')
| -rw-r--r-- | src/bindings/scripts/scripts/zone/ghostlands/ghostlands.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bindings/scripts/scripts/zone/ghostlands/ghostlands.cpp b/src/bindings/scripts/scripts/zone/ghostlands/ghostlands.cpp index f7c929be704..ca9c9c6bf44 100644 --- a/src/bindings/scripts/scripts/zone/ghostlands/ghostlands.cpp +++ b/src/bindings/scripts/scripts/zone/ghostlands/ghostlands.cpp @@ -162,6 +162,7 @@ struct TRINITY_DLL_DECL npc_ranger_lilathaAI : public npc_escortAI { m_creature->SetUInt32Value(UNIT_FIELD_BYTES_1, 0); GameObject* Cage = FindGameObject(GO_CAGE); + if(Cage) Cage->SetGoState(0); DoSay(SAY_START, LANG_UNIVERSAL, player); break; @@ -198,6 +199,7 @@ struct TRINITY_DLL_DECL npc_ranger_lilathaAI : public npc_escortAI m_creature->SetOrientation(5.858011); DoSay(SAY_END2, LANG_UNIVERSAL, player); Unit* CaptainHelios = FindCreature(NPC_CAPTAIN_HELIOS, 50); + if(CaptainHelios) ((Creature*)CaptainHelios)->Say(CAPTAIN_ANSWER, LANG_UNIVERSAL, PlayerGUID); break; } |
