Show
Ignore:
Timestamp:
11/19/08 13:47:48 (17 years ago)
Author:
yumileroy
Message:

[svn] Fix a bug that players cannot hear others talking.
Provide script support for type 10 gameobject.
Add some missing script sql.

Original author: megamage
Date: 2008-11-12 16:21:08-06:00

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/game/NPCHandler.cpp

    r168 r221  
    274274    } 
    275275 
    276     // remove fake death 
    277     if(GetPlayer()->hasUnitState(UNIT_STAT_DIED)) 
    278         GetPlayer()->RemoveSpellsCausingAura(SPELL_AURA_FEIGN_DEATH); 
     276    GetPlayer()->RemoveAurasWithInterruptFlags(AURA_INTERRUPT_FLAG_TALK); 
     277    // remove fake death 
     278    //if(GetPlayer()->hasUnitState(UNIT_STAT_DIED)) 
     279    //    GetPlayer()->RemoveSpellsCausingAura(SPELL_AURA_FEIGN_DEATH); 
    279280 
    280281    if( unit->isArmorer() || unit->isCivilian() || unit->isQuestGiver() || unit->isServiceProvider())