mirror of
https://github.com/mangosfour/server.git
synced 2025-12-26 16:37:06 +00:00
[9389] Cleanup config data. Use proper names and expected types.
This commit is contained in:
parent
58d188f21a
commit
ebfb0f9835
63 changed files with 1591 additions and 967 deletions
|
|
@ -518,7 +518,7 @@ void PlayerMenu::SendQuestGiverQuestDetails( Quest const *pQuest, uint64 npcGUID
|
|||
}
|
||||
|
||||
// send rewMoneyMaxLevel explicit for max player level, else send RewOrReqMoney
|
||||
if (pSession->GetPlayer()->getLevel() >= sWorld.getConfig(CONFIG_MAX_PLAYER_LEVEL))
|
||||
if (pSession->GetPlayer()->getLevel() >= sWorld.getConfig(CONFIG_UINT32_MAX_PLAYER_LEVEL))
|
||||
data << uint32(pQuest->GetRewMoneyMaxLevel());
|
||||
else
|
||||
data << uint32(pQuest->GetRewOrReqMoney());
|
||||
|
|
@ -784,7 +784,7 @@ void PlayerMenu::SendQuestGiverOfferReward( Quest const* pQuest, uint64 npcGUID,
|
|||
}
|
||||
|
||||
// send rewMoneyMaxLevel explicit for max player level, else send RewOrReqMoney
|
||||
if (pSession->GetPlayer()->getLevel() >= sWorld.getConfig(CONFIG_MAX_PLAYER_LEVEL))
|
||||
if (pSession->GetPlayer()->getLevel() >= sWorld.getConfig(CONFIG_UINT32_MAX_PLAYER_LEVEL))
|
||||
data << uint32(pQuest->GetRewMoneyMaxLevel());
|
||||
else
|
||||
data << uint32(pQuest->GetRewOrReqMoney());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue