Core/Quest: fix money reward for quests turned in at level cap. (#23495)

This commit is contained in:
Wyrserth
2019-07-03 17:42:23 +02:00
committed by GitHub
parent c63bbb97b4
commit 670085d8c0
6 changed files with 21 additions and 29 deletions

View File

@@ -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);