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