mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 10:37:03 +00:00
[9641] Fix typo; IN_MILISECONDS -> IN_MILLISECONDS.
This commit is contained in:
parent
e499150b59
commit
34e56c9978
25 changed files with 96 additions and 96 deletions
|
|
@ -4229,7 +4229,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();
|
||||
int32 max_dur = 2*MINUTE*IN_MILISECONDS;
|
||||
int32 max_dur = 2*MINUTE*IN_MILLISECONDS;
|
||||
int32 new_max_dur = max_dur > dur ? dur : max_dur;
|
||||
new_aur->SetAuraMaxDuration( new_max_dur );
|
||||
new_aur->SetAuraDuration( new_max_dur );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue