diff options
author | Nay <dnpd.dd@gmail.com> | 2012-08-28 19:02:22 +0100 |
---|---|---|
committer | Nay <dnpd.dd@gmail.com> | 2012-08-28 19:02:22 +0100 |
commit | 6af514d592115dda44dde46a2f2420b35cbd08a9 (patch) | |
tree | 71e91bf8e6dce112542dcc4d53bc7f1071860b02 /src/server/game/Quests/QuestDef.cpp | |
parent | 9fe45d68707d45f7a82e3314566edc66ff1d84a2 (diff) | |
parent | ff886b626e7aaa9d8359cfbddc69227dd3f30883 (diff) |
Merge remote-tracking branch 'origin/master' into mmaps
Diffstat (limited to 'src/server/game/Quests/QuestDef.cpp')
-rwxr-xr-x | src/server/game/Quests/QuestDef.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/server/game/Quests/QuestDef.cpp b/src/server/game/Quests/QuestDef.cpp index 9221da53003..b58011efe42 100755 --- a/src/server/game/Quests/QuestDef.cpp +++ b/src/server/game/Quests/QuestDef.cpp @@ -238,10 +238,11 @@ uint32 Quest::CalculateHonorGain(uint8 level) const if (GetRewHonorAddition() > 0 || GetRewHonorMultiplier() > 0.0f) { // values stored from 0.. for 1... - TeamContributionPointsEntry const* tc = sTeamContributionPointsStore.LookupEntry(level-1); + TeamContributionPointsEntry const* tc = sTeamContributionPointsStore.LookupEntry(level); if (!tc) return 0; - honor = uint32(tc->value * GetRewHonorMultiplier() * 0.1000000014901161); + + honor = uint32(tc->value * GetRewHonorMultiplier() * 0.1f); honor += GetRewHonorAddition(); } |