diff --git a/include/RE/C/ConcreteFormFactory.h b/include/RE/C/ConcreteFormFactory.h index 38a44f7e3..636ca2317 100644 --- a/include/RE/C/ConcreteFormFactory.h +++ b/include/RE/C/ConcreteFormFactory.h @@ -41,7 +41,7 @@ namespace RE { auto factory = IFormFactory::GetConcreteFormFactoryByType(); auto form = factory ? factory->Create() : nullptr; - + return form ? form->As() : nullptr; } } diff --git a/include/RE/I/Inventory3DManager.h b/include/RE/I/Inventory3DManager.h index 2b1002a85..2b4b1d2df 100644 --- a/include/RE/I/Inventory3DManager.h +++ b/include/RE/I/Inventory3DManager.h @@ -41,8 +41,8 @@ namespace RE void Begin3D(INTERFACE_LIGHT_SCHEME a_scheme); void End3D(); void LoadInventoryItem(InventoryEntryData* a_objDesc); - void LoadInventoryItem(TESBoundObject* a_object, ExtraDataList* a_extraDataList); - void Render(); + void LoadInventoryItem(TESBoundObject* a_object, ExtraDataList* a_extraDataList); + void Render(); bool ToggleItemZoom(); void UnloadInventoryItem(); diff --git a/src/RE/I/Inventory3DManager.cpp b/src/RE/I/Inventory3DManager.cpp index c55e7f827..272b8e1a9 100644 --- a/src/RE/I/Inventory3DManager.cpp +++ b/src/RE/I/Inventory3DManager.cpp @@ -24,14 +24,14 @@ namespace RE void Inventory3DManager::LoadInventoryItem(InventoryEntryData* a_objDesc) { - using func_t = void (*)(Inventory3DManager*, InventoryEntryData*); + using func_t = void (*)(Inventory3DManager*, InventoryEntryData*); REL::Relocation func{ RELOCATION_ID(50884, 51757) }; return func(this, a_objDesc); } void Inventory3DManager::LoadInventoryItem(TESBoundObject* a_object, ExtraDataList* a_extraDataList) { - using func_t = void (*)(Inventory3DManager*, TESBoundObject*, ExtraDataList*); + using func_t = void (*)(Inventory3DManager*, TESBoundObject*, ExtraDataList*); REL::Relocation func{ RELOCATION_ID(50885, 51758) }; return func(this, a_object, a_extraDataList); } diff --git a/src/RE/N/NiCamera.cpp b/src/RE/N/NiCamera.cpp index 4afeabd8b..853d95e7c 100644 --- a/src/RE/N/NiCamera.cpp +++ b/src/RE/N/NiCamera.cpp @@ -42,7 +42,7 @@ namespace RE bool NiCamera::WorldPtToScreenPt3(const float a_matrix[4][4], const NiRect& a_port, const NiPoint3& a_point, float& a_xOut, float& a_yOut, float& a_zOut, float a_zeroTolerance) { - using func_t = bool (*)(const float[4][4], const NiRect&, const NiPoint3&, float&, float&, float&, float); + using func_t = bool (*)(const float[4][4], const NiRect&, const NiPoint3&, float&, float&, float&, float); REL::Relocation func{ Offset::NiCamera::WorldPtToScreenPt3 }; return func(a_matrix, a_port, a_point, a_xOut, a_yOut, a_zOut, a_zeroTolerance); }