Skip to content

Commit

Permalink
conviction: small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ThirteenAG committed Aug 16, 2024
1 parent fba8f98 commit 91870ce
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion source/SplinterCellConviction.FusionMod/dllmain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -770,7 +770,13 @@ void Init()
});

pattern = hook::pattern("0F 57 C0 53 55 56 57");
static auto UCoverNavEndState = safetyhook::create_mid(0x7410FF, [](SafetyHookContext& regs)
static auto UCoverNavEndState = safetyhook::create_mid(pattern.get_first(), [](SafetyHookContext& regs)
{
bCoverStateStarted = false;
});

pattern = hook::pattern("55 8B EC 83 EC 50 53 56 8B F1 8B 46 5C");
static auto UCoverNavEndState2 = safetyhook::create_mid(pattern.get_first(), [](SafetyHookContext& regs)
{
bCoverStateStarted = false;
});
Expand Down

0 comments on commit 91870ce

Please sign in to comment.