*Do not allow to save player single target spellstolen auras to prevent crash.

--HG--
branch : trunk
This commit is contained in:
QAston
2009-07-30 17:34:08 +02:00
parent 13758fcae1
commit d193b687e8
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -16320,7 +16320,7 @@ void Player::_SaveAuras()
continue;
bool isCaster = itr->second->GetCasterGUID() == GetGUID();
if (!isCaster)
if (itr->second->IsSingleTarget()
if (IsSingleTargetSpell(itr->second->GetSpellProto())
|| itr->second->IsAreaAura())
continue;