Add more structs and symbols.

Check for T4SP environment to prevent MP from being ravaged.
This commit is contained in:
JezuzLizard
2023-03-24 17:21:57 -07:00
parent 6a8f8dbcbe
commit 70e2f8bdb6
4 changed files with 1474 additions and 1 deletions

View File

@ -7,7 +7,7 @@
BOOL APIENTRY DllMain(HMODULE /*module_*/, DWORD ul_reason_for_call, LPVOID /*reserved_*/)
{
if (ul_reason_for_call == DLL_PROCESS_ATTACH)
if (ul_reason_for_call == DLL_PROCESS_ATTACH && game::environment::t4sp())
{
component_loader::post_unpack();
}