diff options
author | megamage <none@none> | 2008-11-12 16:21:08 -0600 |
---|---|---|
committer | megamage <none@none> | 2008-11-12 16:21:08 -0600 |
commit | 379bc3682cd3c5635bac2f30165539d89102c0c4 (patch) | |
tree | f0fe34fc9500f1bd124147d0619802109db7441c /src/game/NPCHandler.cpp | |
parent | e3a9de2d847ab1b3d643e36ac335e07b59d6e041 (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/NPCHandler.cpp')
-rw-r--r-- | src/game/NPCHandler.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/game/NPCHandler.cpp b/src/game/NPCHandler.cpp index bec37717239..10958ebb8a7 100644 --- a/src/game/NPCHandler.cpp +++ b/src/game/NPCHandler.cpp @@ -273,9 +273,10 @@ void WorldSession::HandleGossipHelloOpcode( WorldPacket & recv_data ) return; } + GetPlayer()->RemoveAurasWithInterruptFlags(AURA_INTERRUPT_FLAG_TALK); // remove fake death - if(GetPlayer()->hasUnitState(UNIT_STAT_DIED)) - GetPlayer()->RemoveSpellsCausingAura(SPELL_AURA_FEIGN_DEATH); + //if(GetPlayer()->hasUnitState(UNIT_STAT_DIED)) + // GetPlayer()->RemoveSpellsCausingAura(SPELL_AURA_FEIGN_DEATH); if( unit->isArmorer() || unit->isCivilian() || unit->isQuestGiver() || unit->isServiceProvider()) { |