Added Tween Menu addresses for VR

This commit is contained in:
Eddoursul 2024-02-15 19:23:30 +01:00
parent 7a925fa9c7
commit 2674fd74fc
2 changed files with 3 additions and 3 deletions

View File

@ -12,7 +12,7 @@ private:
{
using func_t = decltype(&OpenMenu);
// Checked: 1.5.97, 1.6.640, 1.6.659, 1.6.1130
REL::Relocation<func_t> func{ REL::RelocationID(51845, 52718) };
REL::Relocation<func_t> func{ REL::VariantID(51845, 52718, 0x8FE7E0) };
return func(tweenMenu, index);
}

View File

@ -180,8 +180,8 @@ inline void CloseTweenMenu()
{
if (RE::UI::GetSingleton()->IsMenuOpen(RE::TweenMenu::MENU_NAME)) {
using func_t = decltype(&CloseTweenMenu);
REL::Relocation<func_t> func{ REL::RelocationID(51839, 52711) };
return func();
REL::Relocation<func_t> func{ REL::VariantID(51839, 52711, 0x8FE180) };
func();
}
}