diff options
author | Blaymoira <none@none> | 2009-02-28 18:31:32 +0100 |
---|---|---|
committer | Blaymoira <none@none> | 2009-02-28 18:31:32 +0100 |
commit | 36d422693c71410c1ebd7a03dbba532a1065a713 (patch) | |
tree | 9a6d367bddc94a472ecc245ca2a1341aae6033dd /src | |
parent | 52edebe0251e3b3bad2e599a0ed71b4c8b01650f (diff) |
*Allow scripting gameobjecttype 10 - by Edder
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/game/SpellEffects.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index c9e0d1e0647..bdede08b469 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -2859,6 +2859,10 @@ void Spell::SendLoot(uint64 guid, LootType loottype) if(uint32 trapEntry = gameObjTarget->GetGOInfo()->goober.linkedTrapId) gameObjTarget->TriggeringLinkedGameObject(trapEntry,m_caster); + // activate GO scripts + Script->GOHello(player, gameObjTarget); + sWorld.ScriptsStart(sGameObjectScripts, gameObjTarget->GetDBTableGUIDLow(), player, gameObjTarget); + return; case GAMEOBJECT_TYPE_CHEST: |