PDA

View Full Version : Fix crash in Aura::Update. Check if target has Invisibility or Stealth aura before ch


biglad
06-25-2009, 05:26 PM
Fix crash in Aura::Update. Check if target has Invisibility or Stealth aura before checking IsVisibleForOrDetect to allow cast spells on invisible triggers and fix pet linked spells. Send correct message to client if target is not visible for caster. Sorry for my previous buging commits.

src/game/SpellAuras.cpp (http://bitbucket.org/biglad/mga/src/cb6e5a7f046f/src/game/SpellAuras.cpp) (4 lines added, 1 lines removed)
src/game/Spell.cpp (http://bitbucket.org/biglad/mga/src/cb6e5a7f046f/src/game/Spell.cpp) (7 lines added, 5 lines removed)



More... (http://bitbucket.org/biglad/mga/changeset/cb6e5a7f046f/)