diff --git a/include/RE/IDs.h b/include/RE/IDs.h index 042600f8..7f43b7ea 100644 --- a/include/RE/IDs.h +++ b/include/RE/IDs.h @@ -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 }; diff --git a/include/RE/T/TESForm.h b/include/RE/T/TESForm.h index 8ebe415d..bf53b665 100644 --- a/include/RE/T/TESForm.h +++ b/include/RE/T/TESForm.h @@ -148,7 +148,7 @@ namespace RE std::uint64_t DecExternalRefCount() const { using func_t = decltype(&TESForm::DecRefCount); - static REL::Relocation func{ ID::TESForm::DecExternalRefCount }; + static REL::Relocation func{ ID::TESForm::DecExternalRefCount }; // TODO: ID changed return func(this); }