aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellEffects.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2008-11-12 16:21:08 -0600
committermegamage <none@none>2008-11-12 16:21:08 -0600
commit379bc3682cd3c5635bac2f30165539d89102c0c4 (patch)
treef0fe34fc9500f1bd124147d0619802109db7441c /src/game/SpellEffects.cpp
parente3a9de2d847ab1b3d643e36ac335e07b59d6e041 (diff)
[svn] Fix a bug that players cannot hear others talking.
Provide script support for type 10 gameobject. Add some missing script sql. --HG-- branch : trunk
Diffstat (limited to 'src/game/SpellEffects.cpp')
-rw-r--r--src/game/SpellEffects.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp
index 5061edfc547..7b093b1922e 100644
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -56,6 +56,7 @@
#include "SocialMgr.h"
#include "Util.h"
#include "TemporarySummon.h"
+#include "ScriptCalls.h" // for goober gameobject script
pEffect SpellEffects[TOTAL_SPELL_EFFECTS]=
{
@@ -2807,6 +2808,7 @@ void Spell::SendLoot(uint64 guid, LootType loottype)
if(player->GetQuestStatus(gameObjTarget->GetGOInfo()->goober.questId) != QUEST_STATUS_INCOMPLETE)
return;
+ Script->GOHello(player, gameObjTarget);
gameObjTarget->AddUniqueUse(player);
gameObjTarget->SetLootState(GO_JUST_DEACTIVATED);