mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-12-23 00:28:51 -05:00
Add: Clear Flags option (#1251)
* Added button to clear actorCtx flags * Update soh/soh/Enhancements/debugger/debugSaveEditor.cpp Co-authored-by: briaguya <70942617+briaguya-ai@users.noreply.github.com>
This commit is contained in:
parent
c914bd20b8
commit
5ce051e4ea
@ -799,6 +799,15 @@ void DrawFlagsTab() {
|
||||
gSaveContext.sceneFlags[gGlobalCtx->sceneNum].chest = act->flags.chest;
|
||||
}
|
||||
UIWidgets::SetLastItemHoverText("Save current scene flags. Normally happens on scene exit");
|
||||
|
||||
if (ImGui::Button("Clear Flags")) {
|
||||
act->flags.swch = 0;
|
||||
act->flags.clear = 0;
|
||||
act->flags.collect = 0;
|
||||
act->flags.chest = 0;
|
||||
}
|
||||
UIWidgets::SetLastItemHoverText("Clear current scene flags. Reload scene to see changes");
|
||||
|
||||
|
||||
ImGui::EndGroup();
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user