Changeset 1149

Show
Ignore:
Timestamp:
02/06/2010 01:25:32 PM (5 weeks ago)
Author:
jackpoz
Message:

FIXED: Crash using Invincible (spell id 72286).

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • Trunk/src/SpellHandlers/ItemSpells_1.cpp

    r1148 r1149  
    634634                                newspell = 72281; 
    635635 
    636         SpellEntry *sp = dbcSpell.LookupEntry(newspell); 
    637         sEventMgr.AddEvent( pAura->GetTarget() ,&Unit::EventCastSpell , pAura->GetTarget() , sp , EVENT_UNK, 1 , 1, EVENT_FLAG_DO_NOT_EXECUTE_IN_WORLD_CONTEXT ); 
     636                pAura->GetTarget()->CastSpell(pAura->GetTarget(), newspell, true); 
    638637        } 
    639638