Added Tween Menu addresses for VR
This commit is contained in:
parent
7a925fa9c7
commit
2674fd74fc
source/Enderal DLL/src
@ -12,7 +12,7 @@ private:
|
|||||||
{
|
{
|
||||||
using func_t = decltype(&OpenMenu);
|
using func_t = decltype(&OpenMenu);
|
||||||
// Checked: 1.5.97, 1.6.640, 1.6.659, 1.6.1130
|
// 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);
|
return func(tweenMenu, index);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -180,8 +180,8 @@ inline void CloseTweenMenu()
|
|||||||
{
|
{
|
||||||
if (RE::UI::GetSingleton()->IsMenuOpen(RE::TweenMenu::MENU_NAME)) {
|
if (RE::UI::GetSingleton()->IsMenuOpen(RE::TweenMenu::MENU_NAME)) {
|
||||||
using func_t = decltype(&CloseTweenMenu);
|
using func_t = decltype(&CloseTweenMenu);
|
||||||
REL::Relocation<func_t> func{ REL::RelocationID(51839, 52711) };
|
REL::Relocation<func_t> func{ REL::VariantID(51839, 52711, 0x8FE180) };
|
||||||
return func();
|
func();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user