aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBlaymoira <none@none>2008-12-26 17:05:13 +0100
committerBlaymoira <none@none>2008-12-26 17:05:13 +0100
commitfcba716f402caa0e23405b6b57d6d3f22752dc7f (patch)
tree9557cb344b853742b5e69f73e9225018aba98496 /src
parent178ddecde69cb037667ecff8af87aba9e298f976 (diff)
*Fix the crash with Object::SetUInt32Value in ghostlands.cpp
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/bindings/scripts/scripts/zone/ghostlands/ghostlands.cpp1
1 files changed, 1 insertions, 0 deletions
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);
}