diff --git a/Solution/source/Memory/GTAmemory.cpp b/Solution/source/Memory/GTAmemory.cpp index 0e093337..1cc2eed3 100644 --- a/Solution/source/Memory/GTAmemory.cpp +++ b/Solution/source/Memory/GTAmemory.cpp @@ -1492,8 +1492,6 @@ void GTAmemory::Init() _gamePlayCameraAddr = reinterpret_cast(*reinterpret_cast(address + 3) + address + 7); } - - // Bypass model requests block if (g_isEnhanced) { address = MemryScan::PatternScanner::FindPattern("44 0f b6 b4 24 ? ? ? ? 41 20 f6"); @@ -1505,17 +1503,6 @@ void GTAmemory::Init() if (address) memset(reinterpret_cast(address - 24), 0x90, 24); } - // Bypass is player model allowed to spawn checks - if (g_isEnhanced) { - address = MemryScan::PatternScanner::FindPattern("74 ? e8 ? ? ? ? 48 8b b0"); - if (address) memset(reinterpret_cast(address + 28), 0x90, 6); - } - else { - // new pattern that lands outside of the patched bytes, to ensure compatibility with other mods that patch them. - address = MemryScan::PatternScanner::FindPattern("40 53 48 83 ec ? e8 ? ? ? ? 48 8b d8 48 85 c0 74 ? 48 8b 10 48 8b c8 ff 52"); - if (address) memset(reinterpret_cast(address + 28), 0x90, 4); - } - //GetModelInfo if (g_isEnhanced) { diff --git a/Solution/source/macros.h b/Solution/source/macros.h index c84aa312..f902aa4b 100644 --- a/Solution/source/macros.h +++ b/Solution/source/macros.h @@ -16,7 +16,7 @@ #define _CRT_SECURE_NO_WARNINGS -#define MENYOO_CURRENT_VER_ "2.2.1a2" +#define MENYOO_CURRENT_VER_ "2.2.1a3" #define GAME_PLAYERCOUNT 30