aboutsummaryrefslogtreecommitdiff
path: root/src/game/Player.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/Player.cpp')
-rw-r--r--src/game/Player.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp
index 4199e23c2e4..5733abb630d 100644
--- a/src/game/Player.cpp
+++ b/src/game/Player.cpp
@@ -15431,10 +15431,10 @@ void Player::_LoadAuras(QueryResult *result, uint32 timediff)
// negative effects should continue counting down after logout
if (remaintime != -1 && !IsPositiveSpell(spellid))
{
- if(remaintime <= int32(timediff))
+ if (remaintime/IN_MILISECONDS <= int32(timediff))
continue;
- remaintime -= timediff;
+ remaintime -= timediff*IN_MILISECONDS;
}
// prevent wrong values of remaincharges