aboutsummaryrefslogtreecommitdiff
path: root/src/game/ReputationMgr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/ReputationMgr.cpp')
-rw-r--r--src/game/ReputationMgr.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/ReputationMgr.cpp b/src/game/ReputationMgr.cpp
index 5b42e616ac7..ee7ca8d44a4 100644
--- a/src/game/ReputationMgr.cpp
+++ b/src/game/ReputationMgr.cpp
@@ -254,7 +254,8 @@ bool ReputationMgr::SetOneFactionReputation(FactionEntry const* factionEntry, in
if(incremental)
{
- standing *= sWorld.getRate(RATE_REPUTATION_GAIN); //multiply gain by config rate
+ // int32 *= float cause one point loss?
+ standing = (int32)((float)standing * sWorld.getRate(RATE_REPUTATION_GAIN));
standing += itr->second.Standing + BaseRep;
}