[Materials] Don't synchronize techset remapping
This commit is contained in:
parent
144874d36b
commit
669a829c5c
@ -189,17 +189,17 @@ namespace Components
|
||||
// Debug material comparison
|
||||
Utils::Hook::Set<void*>(0x523894, Materials::MaterialComparePrint);
|
||||
|
||||
// Synchronize material sorting
|
||||
Utils::Hook(0x50AAFE, Materials::MaterialSort, HOOK_CALL).install()->quick();
|
||||
|
||||
// Don't compare remapped techsets
|
||||
Utils::Hook::Set<BYTE>(0x523490, 0xEB);
|
||||
Utils::Hook::Set<BYTE>(0x5234A0, 0xEB);
|
||||
|
||||
// Synchronize material sorting
|
||||
//Utils::Hook(0x50AAFE, Materials::MaterialSort, HOOK_CALL).install()->quick();
|
||||
|
||||
// Synchronize techset remapping
|
||||
Utils::Hook(0x50AAD8, Materials::OverrideTechsets, HOOK_CALL).install()->quick();
|
||||
Utils::Hook(0x518BB8, Materials::OverrideTechsets, HOOK_CALL).install()->quick();
|
||||
Utils::Hook(0x5BC791, Materials::OverrideTechsets, HOOK_CALL).install()->quick();
|
||||
//Utils::Hook(0x50AAD8, Materials::OverrideTechsets, HOOK_CALL).install()->quick();
|
||||
//Utils::Hook(0x518BB8, Materials::OverrideTechsets, HOOK_CALL).install()->quick();
|
||||
//Utils::Hook(0x5BC791, Materials::OverrideTechsets, HOOK_CALL).install()->quick();
|
||||
|
||||
#ifdef DEBUG
|
||||
if (Flags::HasFlag("dump"))
|
||||
|
Loading…
Reference in New Issue
Block a user