mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-07 01:23:52 +00:00
feat(editor): selected-NPC editor gains Faction input (parity with template)
This commit is contained in:
parent
4e01dd5553
commit
9625201952
1 changed files with 3 additions and 0 deletions
|
|
@ -2003,6 +2003,9 @@ void EditorUI::renderNpcPanel(EditorApp& app) {
|
|||
if (sel->displayId == 0)
|
||||
ImGui::TextColored(ImVec4(0.9f, 0.6f, 0.3f, 1),
|
||||
"Display ID 0 = invisible in game; set for SQL export");
|
||||
int facSel = static_cast<int>(sel->faction);
|
||||
if (ImGui::InputInt("Faction##s", &facSel))
|
||||
sel->faction = static_cast<uint32_t>(std::max(0, facSel));
|
||||
|
||||
const char* beh2[] = {"Stationary", "Patrol", "Wander", "Scripted"};
|
||||
int bi2 = static_cast<int>(sel->behavior);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue