diff options
author | Trazom62 <none@none> | 2010-04-11 23:49:00 +0200 |
---|---|---|
committer | Trazom62 <none@none> | 2010-04-11 23:49:00 +0200 |
commit | d9367da5f222ad694944e8bfdb549901e4556cf6 (patch) | |
tree | 6ed4ca7118747d450705e9a0b3ce9a106a509247 /src/game/SpellEffects.cpp | |
parent | e2ed15655b9490f64085f72d993814da9de7f427 (diff) |
Fix script started twice for Gobber (GO type=10) with eventID.
Fixes issue #1589.
With help of Az@zel, thanks.
--HG--
branch : trunk
Diffstat (limited to 'src/game/SpellEffects.cpp')
-rw-r--r-- | src/game/SpellEffects.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index 6c64163ac0d..73a62eae53b 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -3346,13 +3346,6 @@ void Spell::SendLoot(uint64 guid, LootType loottype) return; case GAMEOBJECT_TYPE_GOOBER: - // goober_scripts can be triggered if the player don't have the quest - if (gameObjTarget->GetGOInfo()->goober.eventId) - { - sLog.outDebug("Goober ScriptStart id %u for GO %u",gameObjTarget->GetGOInfo()->goober.eventId,gameObjTarget->GetDBTableGUIDLow()); - player->GetMap()->ScriptsStart(sEventScripts, gameObjTarget->GetGOInfo()->goober.eventId, player, gameObjTarget); - gameObjTarget->EventInform(gameObjTarget->GetGOInfo()->goober.eventId); - } gameObjTarget->Use(m_caster); return; |