mirror of
https://github.com/CookiePLMonster/SilentPatch.git
synced 2024-12-29 15:23:02 +05:00
I forgot about a reffix
1.1 BETA release
This commit is contained in:
parent
799ad7311f
commit
af90448047
1 changed files with 10 additions and 3 deletions
|
@ -189,6 +189,9 @@ static CLinkList<CEntity*>& ms_weaponPedsForPC = **(CLinkList<CEntity*>**)0x5
|
||||||
|
|
||||||
static unsigned char* ZonesVisited = *(unsigned char**)0x57216A - 9;
|
static unsigned char* ZonesVisited = *(unsigned char**)0x57216A - 9;
|
||||||
|
|
||||||
|
static const float fRefZVal = 1.0f;
|
||||||
|
static const float* const pRefFal = &fRefZVal;
|
||||||
|
|
||||||
#ifndef SA_STEAM_TEST
|
#ifndef SA_STEAM_TEST
|
||||||
void** rwengine = *(void***)0x58FFC0;
|
void** rwengine = *(void***)0x58FFC0;
|
||||||
#else
|
#else
|
||||||
|
@ -2098,9 +2101,13 @@ __forceinline void Patch_SA_10()
|
||||||
Patch<DWORD>(0x733AD7, EXPAND_BOAT_ALPHA_ATOMIC_LISTS * sizeof(AlphaObjectInfo));*/
|
Patch<DWORD>(0x733AD7, EXPAND_BOAT_ALPHA_ATOMIC_LISTS * sizeof(AlphaObjectInfo));*/
|
||||||
|
|
||||||
// Fixed strafing? Hopefully
|
// Fixed strafing? Hopefully
|
||||||
static const float fStrafeCheck = 0.1f;
|
/*static const float fStrafeCheck = 0.1f;
|
||||||
Patch<const void*>(0x61E0C2, &fStrafeCheck);
|
Patch<const void*>(0x61E0C2, &fStrafeCheck);
|
||||||
Nop(0x61E0CA, 6);
|
Nop(0x61E0CA, 6);*/
|
||||||
|
|
||||||
|
// RefFix
|
||||||
|
Patch<const void*>(0x6FB97A, &pRefFal);
|
||||||
|
Patch<BYTE>(0x6FB9A0, 0);
|
||||||
|
|
||||||
// Plane rotors
|
// Plane rotors
|
||||||
InjectHook(0x4C7981, PlaneAtomicRendererSetup, PATCH_JUMP);
|
InjectHook(0x4C7981, PlaneAtomicRendererSetup, PATCH_JUMP);
|
||||||
|
|
Loading…
Reference in a new issue