From 4f49346302f58390b3935d9a537c652d0001a072 Mon Sep 17 00:00:00 2001 From: MiranDMC Date: Sat, 21 Sep 2024 18:23:26 +0200 Subject: [PATCH] Fixed Alpha.71 crashing (#207) --- source/CleoBase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/CleoBase.cpp b/source/CleoBase.cpp index 31637e39..a532b2af 100644 --- a/source/CleoBase.cpp +++ b/source/CleoBase.cpp @@ -108,7 +108,7 @@ namespace CLEO void __declspec(naked) CCleoInstance::OnDebugDisplayTextBuffer() { - GetInstance().CallCallbacks(eCallbackId::DrawingFinished); // execute registered callbacks + CleoInstance.CallCallbacks(eCallbackId::DrawingFinished); // execute registered callbacks static DWORD oriFunc; oriFunc = (DWORD)(GetInstance().DebugDisplayTextBuffer); if (oriFunc != (DWORD)nullptr)