Skip to content

Commit

Permalink
fix: re-add id
Browse files Browse the repository at this point in the history
  • Loading branch information
qudix committed Oct 10, 2024
1 parent 9d7e0fc commit b6c6a28
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions include/RE/IDs.h
Original file line number Diff line number Diff line change
Expand Up @@ -432,6 +432,7 @@ namespace RE::ID

namespace TESForm
{
inline constexpr REL::ID DecExternalRefCount{ 34165 };
inline constexpr REL::ID DecRefCount{ 35164 };
inline constexpr REL::ID LookupByID{ 86125 };
inline constexpr REL::ID LookupByEditorID{ 86123 };
Expand Down
2 changes: 1 addition & 1 deletion include/RE/T/TESForm.h
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ namespace RE
std::uint64_t DecExternalRefCount() const
{
using func_t = decltype(&TESForm::DecRefCount);
static REL::Relocation<func_t> func{ ID::TESForm::DecExternalRefCount };
static REL::Relocation<func_t> func{ ID::TESForm::DecExternalRefCount }; // TODO: ID changed
return func(this);
}

Expand Down

0 comments on commit b6c6a28

Please sign in to comment.