aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQAston <none@none>2009-04-07 23:23:20 +0200
committerQAston <none@none>2009-04-07 23:23:20 +0200
commit7d2652e8621601652d692b1552c86211b5e1042a (patch)
tree8aa0bbfaa57d80b2eab212cf134c80e7e00d5bf7
parentf6df4d1bb846b11cbd3fecb6e172aed2b6d96a7c (diff)
*Fix a typo
--HG-- branch : trunk
-rw-r--r--src/game/Player.cpp2
-rw-r--r--src/game/Unit.cpp1
2 files changed, 2 insertions, 1 deletions
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;
}