aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.cpp
diff options
context:
space:
mode:
authorQAston <none@none>2009-04-12 13:12:08 +0200
committerQAston <none@none>2009-04-12 13:12:08 +0200
commit7409df2dc90c6f831cdf199ae02ba05f3b5a9ed7 (patch)
treea7a3ea000ac523ef1111b5bc909ef141a7e7c958 /src/game/Unit.cpp
parentb1b53addcc4afbd0f7bf503ada16669d99dd70a2 (diff)
*Take combo points for delayed spells
*Fix a typo in spellsteal handling and a typo causing freeze while removing spellmods. --HG-- branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r--src/game/Unit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index 0ba580d77ab..f41637b6c75 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -4020,7 +4020,7 @@ void Unit::RemoveAurasDueToSpellBySteal(uint32 spellId, uint64 casterGUID, Unit
else
damage[i]=NULL;
}
- int32 dur = 2*MINUTE*IN_MILISECONDS > aur->GetAuraDuration() ? 2*MINUTE*IN_MILISECONDS : aur->GetAuraDuration();
+ int32 dur = 2*MINUTE*IN_MILISECONDS < aur->GetAuraDuration() ? 2*MINUTE*IN_MILISECONDS : aur->GetAuraDuration();
Aura * new_aur = new Aura(aur->GetSpellProto(),aur->GetEffectMask(), NULL, stealer, stealer, NULL);
new_aur->SetLoadedState(aur->GetCasterGUID(), dur, dur, aur->GetAuraCharges(), aur->GetStackAmount(), &damage[0]);