mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-22 23:30:14 +00:00
Add Abandon Quest option to quest tracker right-click menu
This commit is contained in:
parent
347e958703
commit
1cab2e1156
1 changed files with 7 additions and 0 deletions
|
|
@ -5538,6 +5538,13 @@ void GameScreen::renderQuestObjectiveTracker(game::GameHandler& gameHandler) {
|
|||
gameHandler.setQuestTracked(q.questId, true);
|
||||
}
|
||||
}
|
||||
if (!q.complete) {
|
||||
ImGui::Separator();
|
||||
if (ImGui::MenuItem("Abandon Quest")) {
|
||||
gameHandler.abandonQuest(q.questId);
|
||||
gameHandler.setQuestTracked(q.questId, false);
|
||||
}
|
||||
}
|
||||
ImGui::EndPopup();
|
||||
}
|
||||
ImGui::PopID();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue