[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
This commit is contained in:
megamage committed 2008-11-12 16:21:08 -06:00
1 parent e3a9de2d84
commit 379bc3682c
11 files changed
+126 -84

No files matched your search

+2
View File
@@ -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);