From 7ee05646eba7e6978ae6c8b5c055730a785690e5 Mon Sep 17 00:00:00 2001 From: briaguya Date: Wed, 1 Jun 2022 14:45:18 -0400 Subject: [PATCH] still seeing the types error --- libultraship/libultraship/SohImGuiImpl.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libultraship/libultraship/SohImGuiImpl.cpp b/libultraship/libultraship/SohImGuiImpl.cpp index 63aa0bd14..6c67a87fa 100644 --- a/libultraship/libultraship/SohImGuiImpl.cpp +++ b/libultraship/libultraship/SohImGuiImpl.cpp @@ -40,7 +40,8 @@ IMGUI_IMPL_API LRESULT ImGui_ImplWin32_WndProcHandler(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam); #endif -#include "../../soh/include/randomizer/main.cpp" +// #include "../../soh/include/randomizer/main.cpp" +#include "../../soh/include/randomizer/menu.hpp" #include "../../soh/soh/OTRGlobals.h" using namespace Ship; @@ -1033,7 +1034,7 @@ namespace SohImGui { EnhancementCheckbox("Enable Randomizer", "gRandomizer"); if (ImGui::Button("Generate Seed") && CVar_GetS32("gRandomizer", 0) != 0) { - GenerateRando(); + GenerateRandomizer(); gSpoilerData = GetSpoilerData(); ParseItemLocations(gSpoilerData); }