Skip to content

Commit

Permalink
fix: extra-natives/five: oversight in IsEngineStarting offset
Browse files Browse the repository at this point in the history
  • Loading branch information
Disquse committed Mar 28, 2020
1 parent bf871cd commit 6e279db
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -292,8 +292,8 @@ static HookFunction initFunction([]()
{
auto location = hook::get_pattern<char>("8A 96 ? ? ? ? 0F B6 C8 84 D2 41");

IsWantedOffset = *(uint32_t*)(location + 31);
IsEngineStartingOffset = *(uint32_t*)(location + 40);
IsEngineStartingOffset = *(uint32_t*)(location + 31);
IsWantedOffset = *(uint32_t*)(location + 40);
}

{
Expand Down

0 comments on commit 6e279db

Please sign in to comment.