Small change

This commit is contained in:
Federico Cecchetto 2022-08-28 16:42:57 +02:00
parent 94ce2e4dac
commit d6cf2cfee5

View File

@ -233,8 +233,7 @@ namespace notifies
public: public:
void post_unpack() override void post_unpack() override
{ {
const auto a = utils::hook::assemble(vm_execute_stub); utils::hook::jump(0x1405C90A5, utils::hook::assemble(vm_execute_stub), true);
utils::hook::jump(0x1405C90A5, a, true);
scr_entity_damage_hook.create(0x1404BD2E0, scr_entity_damage_stub); scr_entity_damage_hook.create(0x1404BD2E0, scr_entity_damage_stub);
} }