Skip to content

Commit

Permalink
fix: TESObjectREFR initializer fix
Browse files Browse the repository at this point in the history
  • Loading branch information
RobbeBryssinck committed Nov 2, 2024
1 parent 10bbc7a commit 70098e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Code/client/Games/References.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ void TP_MAKE_THISCALL(HookSetCurrentPickREFR, Console, BSPointerHandle<TESObject
return TiltedPhoques::ThisCall(RealSetCurrentPickREFR, apThis, apRefr);
}

TiltedPhoques::Initializer s_referencesHooks(
static TiltedPhoques::Initializer s_referencesHooks(
[]()
{
POINTER_SKYRIMSE(TCheckForNewPackage, s_checkForNewPackage, 39114);
Expand Down
2 changes: 1 addition & 1 deletion Code/client/Games/Skyrim/Sky/Sky.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ void TP_MAKE_THISCALL(HookUpdateWeather, Sky)
TiltedPhoques::ThisCall(RealUpdateWeather, apThis);
}

TiltedPhoques::Initializer s_referencesHooks(
static TiltedPhoques::Initializer s_skyHooks(
[]()
{
POINTER_SKYRIMSE(TSetWeather, setWeather, 26241);
Expand Down

0 comments on commit 70098e5

Please sign in to comment.