From fcba716f402caa0e23405b6b57d6d3f22752dc7f Mon Sep 17 00:00:00 2001 From: Blaymoira Date: Fri, 26 Dec 2008 17:05:13 +0100 Subject: *Fix the crash with Object::SetUInt32Value in ghostlands.cpp --HG-- branch : trunk --- src/bindings/scripts/scripts/zone/ghostlands/ghostlands.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/bindings/scripts/scripts/zone/ghostlands/ghostlands.cpp b/src/bindings/scripts/scripts/zone/ghostlands/ghostlands.cpp index bf172c1566b..f7c929be704 100644 --- a/src/bindings/scripts/scripts/zone/ghostlands/ghostlands.cpp +++ b/src/bindings/scripts/scripts/zone/ghostlands/ghostlands.cpp @@ -211,6 +211,7 @@ struct TRINITY_DLL_DECL npc_ranger_lilathaAI : public npc_escortAI m_creature->setFaction(1602); GameObject* Cage = FindGameObject(GO_CAGE); + if(Cage) Cage->SetGoState(1); } -- cgit v1.2.3