diff --git a/BML.vcxproj b/BML.vcxproj
index 9ed36c2..a7a79b8 100644
--- a/BML.vcxproj
+++ b/BML.vcxproj
@@ -130,6 +130,7 @@
Default
false
stdcpplatest
+ MultiThreadedDebugDLL
Windows
diff --git a/BuildVer.h b/BuildVer.h
index d86ccb9..3892033 100644
--- a/BuildVer.h
+++ b/BuildVer.h
@@ -1,3 +1,3 @@
#define BML_MAJOR_VER 0
#define BML_MINOR_VER 3
-#define BML_BUILD_VER 32
+#define BML_BUILD_VER 33
diff --git a/ModLoader.cpp b/ModLoader.cpp
index 46807ce..9929034 100644
--- a/ModLoader.cpp
+++ b/ModLoader.cpp
@@ -93,6 +93,12 @@ void ModLoader::Init() {
m_logger->Info("Step Hook created");
+#ifdef _DEBUG
+ m_logger->Info("Player.exe Address: 0x%08x", GetModuleHandle("Player.exe"));
+ m_logger->Info("CK2.dll Address: 0x%08x", GetModuleHandle("CK2.dll"));
+ m_logger->Info("VxMath.dll Address: 0x%08x", GetModuleHandle("VxMath.dll"));
+#endif
+
HMODULE narratives = GetModuleHandle("Narratives.dll");
if (narratives == nullptr) {
m_logger->Error("Get Narratives Address Failed");
@@ -212,7 +218,7 @@ CKERROR Player::Process() {
// Render Tick
CKERROR Player::Render(CK_RENDER_FLAGS flags) {
- CKERROR result = ModLoader::m_instance->GetRenderContext()->Render(flags);
+ CKERROR result = ModLoader::m_instance->GetCKContext()->GetPlayerRenderContext()->Render(flags);
ModLoader::m_instance->Render(flags, result);
return result;
}