Make all material text icons (Hud icons) have white tint so they are not affected by color codes
This commit is contained in:
parent
05861a0df4
commit
feef738c61
@ -192,6 +192,12 @@ namespace Components
|
|||||||
add esp, 4h
|
add esp, 4h
|
||||||
|
|
||||||
mov [esp + 20h], eax
|
mov [esp + 20h], eax
|
||||||
|
|
||||||
|
// Make all material text icons have white tint
|
||||||
|
mov eax,[esp + 0x50]
|
||||||
|
or eax,0x00FFFFFF
|
||||||
|
mov [esp + 0x50],eax
|
||||||
|
|
||||||
popad
|
popad
|
||||||
pop eax
|
pop eax
|
||||||
|
|
||||||
@ -343,6 +349,7 @@ namespace Components
|
|||||||
Materials::ImageVersionCheckHook.initialize(0x53A456, Materials::ImageVersionCheck, HOOK_CALL)->install();
|
Materials::ImageVersionCheckHook.initialize(0x53A456, Materials::ImageVersionCheck, HOOK_CALL)->install();
|
||||||
|
|
||||||
// Fix material pointer exploit
|
// Fix material pointer exploit
|
||||||
|
// Also make all material text icons have white tint
|
||||||
Utils::Hook(0x534E0C, Materials::DrawMaterialStub, HOOK_CALL).install()->quick();
|
Utils::Hook(0x534E0C, Materials::DrawMaterialStub, HOOK_CALL).install()->quick();
|
||||||
|
|
||||||
// Increment string pointer accordingly
|
// Increment string pointer accordingly
|
||||||
|
Loading…
Reference in New Issue
Block a user