Skip to content

Commit

Permalink
Merge pull request #34 from ermaccer/master
Browse files Browse the repository at this point in the history
Bike leg animation while using phone fix
  • Loading branch information
ThirteenAG authored Feb 17, 2021
2 parents 45beca5 + 488c80e commit 512f25a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions source/dllmain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,12 @@ void Init()
injector::WriteMemory<uint8_t>(pattern.get_first(2), 0x60, true);
}

// animation fix for phone interaction on bikes
{
auto pattern = hook::pattern("83 3D ? ? ? ? 01 0F 8C 18 01 00 00");
injector::MakeNOP(pattern.get(0).get<int>(0), 13, true);
}

//fix for lods appearing inside normal models, unless the graphics menu was opened once (draw distances aren't set properly?)
{
auto pattern = hook::pattern("E8 ? ? ? ? 8D 4C 24 10 F3 0F 11 05 ? ? ? ? E8 ? ? ? ? 8B F0 E8 ? ? ? ? DF 2D");
Expand Down

0 comments on commit 512f25a

Please sign in to comment.