aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/Commands
diff options
context:
space:
mode:
authorWyrserth <wyrserth@protonmail.com>2019-07-03 17:42:23 +0200
committerGitHub <noreply@github.com>2019-07-03 17:42:23 +0200
commit670085d8c099606136a904c8a67b8df9c0dd9f1e (patch)
treebcee86b9c8eca0bb74efaf79b8ec1939fffee38c /src/server/scripts/Commands
parentc63bbb97b4850abfd60917bd9b668f276f9ecedb (diff)
Core/Quest: fix money reward for quests turned in at level cap. (#23495)
Diffstat (limited to 'src/server/scripts/Commands')
-rw-r--r--src/server/scripts/Commands/cs_quest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/scripts/Commands/cs_quest.cpp b/src/server/scripts/Commands/cs_quest.cpp
index 3e089717c3a..5b2074cd288 100644
--- a/src/server/scripts/Commands/cs_quest.cpp
+++ b/src/server/scripts/Commands/cs_quest.cpp
@@ -259,7 +259,7 @@ public:
}
// If the quest requires money
- int32 ReqOrRewMoney = quest->GetRewOrReqMoney();
+ int32 ReqOrRewMoney = quest->GetRewOrReqMoney(player);
if (ReqOrRewMoney < 0)
player->ModifyMoney(-ReqOrRewMoney);