From 7172b8671d1af38a9f66186a1d4879ca9219b379 Mon Sep 17 00:00:00 2001 From: yamashi Date: Thu, 3 Feb 2022 10:42:29 +0100 Subject: [PATCH] Tweak: cppguidelines --- src/reverse/RTTIExtender.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/reverse/RTTIExtender.cpp b/src/reverse/RTTIExtender.cpp index cd244417..4d963ffc 100644 --- a/src/reverse/RTTIExtender.cpp +++ b/src/reverse/RTTIExtender.cpp @@ -376,7 +376,7 @@ void CreateSingleton(RED4ext::Handle apClassInstance) pGameSystem->OnSystemInitializeAsync(&systemInitParams); } - auto* pParentType = reinterpret_cast(apClassInstance->GetType()); + auto* pParentType = apClassInstance->GetType(); pGameInstance->unk08.Insert(pParentType, apClassInstance); pGameInstance->unk38.PushBack(apClassInstance);