diff options
author | Blaymoira <none@none> | 2008-12-11 21:32:08 +0100 |
---|---|---|
committer | Blaymoira <none@none> | 2008-12-11 21:32:08 +0100 |
commit | 236553f40804c30d4ed8f1a29e01a76dd7be809a (patch) | |
tree | 5b7e5d38aa0e1e002a932fb86d2c01e0289b1599 /src/game/GameObject.cpp | |
parent | 5d003e3a6079388149473f0a3da6089b47404a29 (diff) | |
parent | f2028e1583bf935fc3d096748d5b07428cdcaa00 (diff) |
*Merged 459
--HG--
branch : trunk
Diffstat (limited to 'src/game/GameObject.cpp')
-rw-r--r-- | src/game/GameObject.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/GameObject.cpp b/src/game/GameObject.cpp index 7008798b806..e43b703d3cb 100644 --- a/src/game/GameObject.cpp +++ b/src/game/GameObject.cpp @@ -1277,7 +1277,7 @@ void GameObject::Use(Unit* user) void GameObject::CastSpell(Unit* target, uint32 spell) { //summon world trigger - Creature *trigger = SummonCreature(12999, GetPositionX(), GetPositionY(), GetPositionZ(), 0, TEMPSUMMON_TIMED_DESPAWN, 1); + Creature *trigger = SummonTrigger(GetPositionX(), GetPositionY(), GetPositionZ(), 0, 1); if(!trigger) return; trigger->SetVisibility(VISIBILITY_OFF); //should this be true? |