From bf61587ca0843dcf60233b3cfc4658fb72801fad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=81=8D=E5=85=AE=E6=83=9A=E5=85=AE?= <101191390+HIllya51@users.noreply.github.com> Date: Sat, 17 Feb 2024 12:46:04 +0800 Subject: [PATCH] Update texthook.cc --- LunaHook/texthook.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LunaHook/texthook.cc b/LunaHook/texthook.cc index 8cf1d28..e658278 100644 --- a/LunaHook/texthook.cc +++ b/LunaHook/texthook.cc @@ -132,7 +132,7 @@ void TextHook::Send(uintptr_t lpDataBase) if(use_custom_embed_fun) { isstring=true; - lpSplit=Engine::ScenarioRole; + lpSplit=Engine::ScenarioRole;lpRetn=0; if(hp.hook_before(stack,pbData,&lpCount,&lpSplit)==false)__leave; } else