Skip to content

Commit

Permalink
Update episodiccontent.ixx
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomasak committed Aug 16, 2024
1 parent d12b7f6 commit 7f1228f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion source/episodiccontent.ixx
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ public:
else {
pattern = hook::pattern("83 3D ?? ?? ?? ?? ?? 75 0A F3 0F 10 05 ?? ?? ?? ?? EB 03");
injector::MakeNOP(pattern.get_first(7), 2, true);
}

pattern = hook::pattern("83 3D ? ? ? ? ? 75 0C 80 3D ? ? ? ? ? 74 03"); // Check if player had a parachute
if (!pattern.empty())
Expand All @@ -234,7 +235,7 @@ public:
}

if (bExplosiveAnnihilator)
{
{
auto pattern = hook::pattern("83 3D ? ? ? ? ? 7C 7F"); // annihilator explosive shots
if (!pattern.empty())
injector::MakeNOP(pattern.get_first(7), 2, true);
Expand Down Expand Up @@ -304,6 +305,7 @@ public:
else {
pattern = hook::pattern("BD ? ? ? ? 75 05");
injector::MakeNOP(pattern.get_first(5), 2, true);
}

pattern = hook::pattern("83 3D ? ? ? ? ? BB ? ? ? ? B8"); // E2_landing marker
if (!pattern.empty())
Expand Down

0 comments on commit 7f1228f

Please sign in to comment.