mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-23 07:40:14 +00:00
Fix all build warnings
- vk_utils.hpp: mark unused 'msg' parameter with [[maybe_unused]] - world_packets.cpp: write exactMatch field to auction list packet (was accepted as parameter but never serialized) - game_screen.cpp: remove unused bagIcons array and unused info variable - talent_screen.cpp: remove unused nextRank and pMin variables
This commit is contained in:
parent
a825450048
commit
997318ae06
4 changed files with 2 additions and 7 deletions
|
|
@ -202,7 +202,6 @@ void TalentScreen::renderTalent(game::GameHandler& gameHandler,
|
|||
auto* assetManager = core::Application::getInstance().getAssetManager();
|
||||
|
||||
uint8_t currentRank = gameHandler.getTalentRank(talent.talentId);
|
||||
uint8_t nextRank = currentRank + 1;
|
||||
|
||||
// Check if can learn
|
||||
bool canLearn = currentRank < talent.maxRank &&
|
||||
|
|
@ -297,7 +296,6 @@ void TalentScreen::renderTalent(game::GameHandler& gameHandler,
|
|||
|
||||
// Rank indicator overlay
|
||||
if (talent.maxRank > 1) {
|
||||
ImVec2 pMin = ImGui::GetItemRectMin();
|
||||
ImVec2 pMax = ImGui::GetItemRectMax();
|
||||
auto* drawList = ImGui::GetWindowDrawList();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue