diff options
| author | QAston <none@none> | 2009-07-18 23:41:42 +0200 |
|---|---|---|
| committer | QAston <none@none> | 2009-07-18 23:41:42 +0200 |
| commit | 53c62aceadc4d4359437a8bccbbe7993bda4e510 (patch) | |
| tree | 8cded2a08b84e1aeb6a5762018148109e93bbac9 /src/game/ReputationMgr.cpp | |
| parent | 5f3f62222670f70a0c278b76ce91601814da1f3f (diff) | |
| parent | c8342ca8ce3f49d1c53fa3bfb69f26197e032cc0 (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 d56d17cdb78..10b7bbd3d62 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 = floor((float)standing * sWorld.getRate(RATE_REPUTATION_GAIN) + 0.5f); + standing = (int32)((float)standing * sWorld.getRate(RATE_REPUTATION_GAIN) + 0.5f); standing += itr->second.Standing + BaseRep; } |
