diff --git a/include/RE/A/Actor.h b/include/RE/A/Actor.h index 09b47219b..12fb97a30 100644 --- a/include/RE/A/Actor.h +++ b/include/RE/A/Actor.h @@ -28,6 +28,8 @@ namespace RE { + enum class FIGHT_REACTION; + class ActorMagicCaster; class ActorMover; class AIProcess; diff --git a/include/RE/B/bhkCharacterController.h b/include/RE/B/bhkCharacterController.h index be17057a7..aa6efc711 100644 --- a/include/RE/B/bhkCharacterController.h +++ b/include/RE/B/bhkCharacterController.h @@ -9,6 +9,7 @@ #include "RE/H/hkpCharacterContext.h" #include "RE/H/hkpCharacterControl.h" #include "RE/H/hkpCharacterState.h" +#include "RE/M/MaterialIDs.h" #include "RE/N/NiPoint3.h" #include "RE/N/NiRefObject.h" #include "RE/N/NiSmartPointer.h" diff --git a/src/RE/A/Actor.cpp b/src/RE/A/Actor.cpp index 27e8b7195..54db0c028 100644 --- a/src/RE/A/Actor.cpp +++ b/src/RE/A/Actor.cpp @@ -437,7 +437,7 @@ namespace RE FIGHT_REACTION Actor::GetFactionReaction(Actor* a_other) const { - using func_t = decltype(&GetFactionReaction); + using func_t = decltype(&Actor::GetFactionReaction); REL::Relocation func{ RELOCATION_ID(36658, 37666) }; return func(this, a_other); } @@ -799,7 +799,7 @@ namespace RE bool Actor::IsCombatTarget(Actor* a_other) const { - using func_t = decltype(&IsCombatTarget); + using func_t = decltype(&Actor::IsCombatTarget); REL::Relocation func{ RELOCATION_ID(37618, 38571) }; return func(this, a_other); } diff --git a/src/RE/T/TESObjectREFR.cpp b/src/RE/T/TESObjectREFR.cpp index de2f817a7..7dc7e2cb3 100644 --- a/src/RE/T/TESObjectREFR.cpp +++ b/src/RE/T/TESObjectREFR.cpp @@ -206,7 +206,7 @@ namespace RE float TESObjectREFR::GetDistance(TESObjectREFR* a_other, bool a_disabledRefs, bool a_ignoreWorldspace) const { - using func_t = decltype(&GetDistance); + using func_t = decltype(&TESObjectREFR::GetDistance); REL::Relocation func{ RELOCATION_ID(19396, 19823) }; return func(this, a_other, a_disabledRefs, a_ignoreWorldspace); }