preventing tact error E_REPAIR (28)

prevents error "Failed to initialize TACT client : E_REPAIR (28), invalid build info?" from happening
This commit is contained in:
Sku-111 2023-11-05 17:22:03 +01:00
parent 7db48e99cf
commit d9359e2b57

View File

@ -55,6 +55,9 @@ BOOL WINAPI DllMain(HMODULE hModule, DWORD Reason, LPVOID lpVoid)
printf("Base Address: %p\n", 0_b);
// prevents tact error E_REPAIR (28) from happening
remove("Data/data/CASCRepair.mrk");
debug_output_init(nullptr);
addCustomCmds();
patchGame();