mirror of
https://github.com/CookiePLMonster/SilentPatch.git
synced 2025-01-31 06:57:28 +05:00
Rewrote directional multiplier fix
This commit is contained in:
parent
e5fdb350e3
commit
bc8aa99196
1 changed files with 3 additions and 5 deletions
|
@ -3736,13 +3736,11 @@ void Patch_SA_10()
|
|||
// Bilinear filtering with mipmaps for weapon icons
|
||||
Patch<BYTE>(0x58D7DA, rwFILTERMIPLINEAR);
|
||||
|
||||
// Illumination value from timecyc.dat properly using floats
|
||||
// Directional multiplier value from timecyc.dat properly using floats
|
||||
Patch<WORD>(0x5BBFC9, 0x14EB);
|
||||
|
||||
// Illumination defaults to 1.0
|
||||
Patch<DWORD>(0x5BBB04, 0xCC2484C7);
|
||||
Patch<DWORD>(0x5BBB08, 0x00000000);
|
||||
Patch<DWORD>(0x5BBB0C, 0x903F8000);
|
||||
// Directional multiplier defaults to 1.0f
|
||||
Patch( 0x5BBB04, { 0xC7, 0x84, 0x24, 0xCC, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x3F, 0x90 } );
|
||||
|
||||
// All lights get casted at vehicles
|
||||
Patch<BYTE>(0x5D9A88, 8);
|
||||
|
|
Loading…
Reference in a new issue