From d6cf2cfee59ff527d2a58d77e36420e6c2472195 Mon Sep 17 00:00:00 2001 From: Federico Cecchetto Date: Sun, 28 Aug 2022 16:42:57 +0200 Subject: [PATCH] Small change --- src/client/component/notifies.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/client/component/notifies.cpp b/src/client/component/notifies.cpp index 3babf96c..6bcc05e3 100644 --- a/src/client/component/notifies.cpp +++ b/src/client/component/notifies.cpp @@ -233,8 +233,7 @@ namespace notifies public: void post_unpack() override { - const auto a = utils::hook::assemble(vm_execute_stub); - utils::hook::jump(0x1405C90A5, a, true); + utils::hook::jump(0x1405C90A5, utils::hook::assemble(vm_execute_stub), true); scr_entity_damage_hook.create(0x1404BD2E0, scr_entity_damage_stub); }