aboutsummaryrefslogtreecommitdiff
path: root/src/game/GossipDef.cpp
diff options
context:
space:
mode:
authorMachiavelli <none@none>2010-03-09 22:37:07 +0100
committerMachiavelli <none@none>2010-03-09 22:37:07 +0100
commit41cf8c173e4c785cadc60aade407f0300bd19f7e (patch)
treee50eefbcd827442543a94075c5b0b902ab38a2d1 /src/game/GossipDef.cpp
parentcf0a646cc090871b4e21a501c12c96673c755133 (diff)
Fix quest reward money showing up as experience reward in quest reward offering dialogue. Fixes issue #829
--HG-- branch : trunk
Diffstat (limited to 'src/game/GossipDef.cpp')
-rw-r--r--src/game/GossipDef.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/GossipDef.cpp b/src/game/GossipDef.cpp
index ae82c8b1a79..67a5e8388cb 100644
--- a/src/game/GossipDef.cpp
+++ b/src/game/GossipDef.cpp
@@ -758,8 +758,8 @@ void PlayerMenu::SendQuestGiverOfferReward( Quest const* pQuest, uint64 npcGUID,
data << uint32(0);
}
- data << uint32(0);
data << uint32(pQuest->GetRewOrReqMoney());
+ data << uint32(pQuest->XPValue(pSession->GetPlayer()));
// rewarded honor points. Multiply with 10 to satisfy client
data << uint32(10*Trinity::Honor::hk_honor_at_level(pSession->GetPlayer()->getLevel(), pQuest->GetRewHonorableKills()));