Just a Cyoa pda unrestriction

This commit is contained in:
BenCat07 2019-09-29 13:50:16 +02:00
parent 12f5a4b1b3
commit 61d4fe3739

View File

@ -751,8 +751,15 @@ static InitRoutine init([]() {
static BytePatch stealth_kill{ gSignatures.GetClientSignature, "84 C0 75 28 A1", 2, { 0x90, 0x90 } }; // stealth kill patch
stealth_kill.Patch();
static BytePatch cyoa_patch{ gSignatures.GetClientSignature, "74 20 A1 ? ? ? ? 8B 10 C7 44 24 ? ? ? ? ? 89 04 24", 0, { 0xEB } };
cyoa_patch.Patch();
EC::Register(
EC::Shutdown, []() { stealth_kill.Shutdown(); }, "shutdown_stealthkill");
EC::Shutdown,
[]() {
stealth_kill.Shutdown();
cyoa_patch.Shutdown();
},
"shutdown_stealthkill");
#endif
#endif
});