From 7d2652e8621601652d692b1552c86211b5e1042a Mon Sep 17 00:00:00 2001 From: QAston Date: Tue, 7 Apr 2009 23:23:20 +0200 Subject: *Fix a typo --HG-- branch : trunk --- src/game/Player.cpp | 2 +- src/game/Unit.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/game/Player.cpp b/src/game/Player.cpp index 730a91a50c3..fb784afca2d 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -6314,7 +6314,7 @@ void Player::DuelComplete(DuelCompleteType type) { if (!i->second->IsPositive() && i->second->GetCasterGUID() == GetGUID() && i->second->GetAuraApplyTime() >= duel->startTime) { - RemoveAura(i); + duel->opponent->RemoveAura(i); } else ++i; diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index a1c77be2ace..06b4313dcbf 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -3854,6 +3854,7 @@ bool Unit::RemoveNoStackAurasDueToAura(Aura *Aur) // Remove all auras by aura caster RemoveAura(i, AURA_REMOVE_BY_STACK); + next=i; } return true; } -- cgit v1.2.3