diff options
| author | Drahy <none@none> | 2009-07-27 07:40:52 +0200 |
|---|---|---|
| committer | Drahy <none@none> | 2009-07-27 07:40:52 +0200 |
| commit | afd5658de56d471f0e364f19ed13cccc84175d39 (patch) | |
| tree | 55818fb43a749dad720dce1301b9aa68649863ec /src/game/ReputationMgr.cpp | |
| parent | 6a8484ce25f5f278f6546177c57eb74fa556dfd7 (diff) | |
| parent | 190863e5a58364a9f42336e300c836d9ec6242ad (diff) | |
* Merge
--HG--
branch : trunk
Diffstat (limited to 'src/game/ReputationMgr.cpp')
| -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..7536fb54f03 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 = floor( (float)standing * sWorld.getRate(RATE_REPUTATION_GAIN) + 0.5 ); standing += itr->second.Standing + BaseRep; } |
