mirror of
https://github.com/HarbourMasters/Shipwright
synced 2026-06-27 02:55:11 -04: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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user