*Correct reputation rounding. By Necroo

--HG--
branch : trunk
This commit is contained in:
megamage
2009-08-05 22:24:47 -05:00
parent bcbfbd6826
commit 11b6ae7924
+1 -1
View File
@@ -5968,7 +5968,7 @@ int32 Player::CalculateReputationGain(uint32 creatureOrQuestLevel, int32 rep, in
if (percent <= 0.0f)
return 0;
return int32(rep*percent*0.01f);
return int32(rep*percent)/100;
}
//Calculates how many reputation points player gains in victim's enemy factions