Skip to content

Commit

Permalink
Updated HUD extension runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
expired6978 committed Nov 13, 2017
1 parent d5acdf7 commit 98f76a9
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions hudextension/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,9 @@ bool RegisterScaleform(GFxMovieView * view, GFxValue * root)
return true;
}

RelocAddr<uintptr_t> HUDMenu_Hook_Target(0x087BA48);
RelocAddr<uintptr_t> HUDMenu_Hook_Target(0x0087C920 + 0x5D8);
typedef void(*_HUDMenu_RegisterMarkers)(GFxValue * value);
RelocAddr<_HUDMenu_RegisterMarkers> HUDMenu_RegisterMarkers(0x00881AD0);
RelocAddr<_HUDMenu_RegisterMarkers> HUDMenu_RegisterMarkers(0x00882F80);

void HUDMenu_RegisterMarkers_Hook(GFxValue * value, HUDMenu * menu)
{
Expand Down Expand Up @@ -155,13 +155,11 @@ bool SKSEPlugin_Query(const SKSEInterface * skse, PluginInfo * info)
if(skse->isEditor)
{
_MESSAGE("loaded in editor, marking as incompatible");

return false;
}
else if(skse->runtimeVersion != RUNTIME_VERSION_1_5_3)
else if(skse->runtimeVersion != RUNTIME_VERSION_1_5_16)
{
_MESSAGE("unsupported runtime version %08X", skse->runtimeVersion);

return false;
}

Expand Down

0 comments on commit 98f76a9

Please sign in to comment.