aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKinzcool <kinzzcool@hotmail.com>2015-01-16 22:21:50 -0500
committerKinzcool <kinzzcool@hotmail.com>2015-01-16 22:21:50 -0500
commit0425ab204733ea26eb7a0a5f354c2fb8e83f3895 (patch)
tree56872d5e8972df6acbc7d7827cf288eaefd9a6ca /src
parent36e50ff8ae48855e8dd240aa602058b1593400a8 (diff)
Core/Misc: Readded a rounding that vanished
Diffstat (limited to 'src')
-rw-r--r--src/server/game/Miscellaneous/Formulas.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Miscellaneous/Formulas.h b/src/server/game/Miscellaneous/Formulas.h
index 7e26f2336e2..e1753e43eb2 100644
--- a/src/server/game/Miscellaneous/Formulas.h
+++ b/src/server/game/Miscellaneous/Formulas.h
@@ -132,7 +132,7 @@ namespace Trinity
if (nLevelDiff > 4)
nLevelDiff = 4;
- baseGain = BaseExpPlayer->Data * (1 + 0.05 * nLevelDiff);
+ baseGain = round(BaseExpPlayer->Data * (1 + 0.05f * nLevelDiff));
}
else
{