mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-20 21:33:40 -07:00
Fix: SohImGui behavior and cleanup (#461)
* Fix: SohImGui behavior and cleanup - FIX: Once Save Editor / Collision Viewer are closed, set their values back to 0 so they don't automatically open once we click on Developer Tools - FIX: Same kind of fixes for every cosmetics editor - FIX: Typo "gCosmticsEditor" to "gCosmeticEditor" - TWEAK: Cleanup of useless stylizing options on Cosmetics * TWEAK: Reset a pointer that I edited for some testing * FIX: Typo from Assignable tunic / boots tooltip * move cvar.h includes out of extern c block * remove extra line Co-authored-by: briaguya <briaguya@alice>
This commit is contained in:
parent
f29fb01887
commit
72ebeaad3b
3 changed files with 13 additions and 10 deletions
|
@ -7,6 +7,7 @@
|
|||
#include <bit>
|
||||
#include <map>
|
||||
#include <string>
|
||||
#include <Cvar.h>
|
||||
|
||||
extern "C" {
|
||||
#include <z64.h>
|
||||
|
@ -1544,6 +1545,7 @@ void DrawPlayerTab() {
|
|||
|
||||
void DrawSaveEditor(bool& open) {
|
||||
if (!open) {
|
||||
CVar_SetS32("gSaveEditorEnabled", 0);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue