Fix inventory clear on init quests (#1266)

This commit is contained in:
Yunfan Li
2025-05-05 21:07:51 +08:00
committed by GitHub
parent f55e95da9d
commit 0d170f5370
2 changed files with 27 additions and 14 deletions

View File

@@ -156,7 +156,7 @@ private:
void ClearSkills();
void InitTalents(uint32 specNo);
void InitTalentsByTemplate(uint32 specNo);
void InitQuests(std::list<uint32>& questMap);
void InitQuests(std::list<uint32>& questMap, bool withRewardItem = true);
void ClearInventory();
void ClearAllItems();
void ResetQuests();