aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-03-02 16:53:50 -0600
committermegamage <none@none>2009-03-02 16:53:50 -0600
commitb1677c901d8d45e60947e30ff98d7ac5d01bd685 (patch)
tree8fb93b82b46007f092525e0551a5fb9adce66d36 /src/game/Unit.cpp
parent61b999fd3a70eff6ccf3d460534c21ba3a3f9408 (diff)
[7362] Use IN_MILISECONDS where appropriate, other cleanups. Author: VladimirMangos
--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 69884279379..bad51ab1779 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -4009,7 +4009,7 @@ void Unit::RemoveAurasDueToSpellBySteal(uint32 spellId, uint64 casterGUID, Unit
// set its duration and maximum duration
// max duration 2 minutes (in msecs)
int32 dur = aur->GetAuraDuration();
- const int32 max_dur = 2*MINUTE*1000;
+ const int32 max_dur = 2*MINUTE*IN_MILISECONDS;
new_aur->SetAuraMaxDuration( max_dur > dur ? dur : max_dur );
new_aur->SetAuraDuration( max_dur > dur ? dur : max_dur );