Core/Misc: Added 'f' after float values

This commit is contained in:
Fredi Machado committed 2011-10-17 07:38:27 -03:00
1 parent 04bb2f4a17
commit 97142102e0
17 files changed
+52 -48

No files matched your search

+1 -1
View File
@@ -358,7 +358,7 @@ bool ReputationMgr::SetOneFactionReputation(FactionEntry const* factionEntry, in
if (incremental)
{
// int32 *= float cause one point loss?
standing = int32(floor((float)standing * sWorld->getRate(RATE_REPUTATION_GAIN) + 0.5));
standing = int32(floor((float)standing * sWorld->getRate(RATE_REPUTATION_GAIN) + 0.5f));
standing += itr->second.Standing + BaseRep;
}