[6834] Fixed typo in Unit::RemoveAura leading to crash.

Signed-off-by: ApoC <apoc@nymfe.net>
This commit is contained in:
ApoC 2008-11-17 12:25:04 +01:00
parent 520fce4b27
commit fc0e3e87a8
2 changed files with 2 additions and 2 deletions

View file

@ -4105,7 +4105,7 @@ void Unit::RemoveAura(AuraMap::iterator &i, AuraRemoveMode mode)
if (IsSingleTargetSpell(AurSpellInfo))
{
caster = Aur->GetCaster();
if(!caster)
if(caster)
{
AuraList& scAuras = caster->GetSingleCastAuras();
scAuras.remove(Aur);