diff options
-rw-r--r-- | src/game/ReputationMgr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/ReputationMgr.cpp b/src/game/ReputationMgr.cpp index 10b7bbd3d62..8e6aa511d21 100644 --- a/src/game/ReputationMgr.cpp +++ b/src/game/ReputationMgr.cpp @@ -255,7 +255,7 @@ bool ReputationMgr::SetOneFactionReputation(FactionEntry const* factionEntry, in if(incremental) { // int32 *= float cause one point loss? - standing = (int32)((float)standing * sWorld.getRate(RATE_REPUTATION_GAIN) + 0.5f); + standing = roundf( (float)standing * sWorld.getRate(RATE_REPUTATION_GAIN) ); standing += itr->second.Standing + BaseRep; } |