diff options
| author | boris <wzn@moneybot.cc> | 2019-01-10 15:44:40 +1300 |
|---|---|---|
| committer | boris <wzn@moneybot.cc> | 2019-01-10 15:44:40 +1300 |
| commit | 6c20307070e096456d3a36722f65ddaa38bcb100 (patch) | |
| tree | cfe05875fc815e4e6ccf5ff0c8d053cd19de3766 /csgo-loader/csgo-module/Module.cpp | |
| parent | 4db29589a61f2e7cb663c5734f911c02206c7997 (diff) | |
aaaaaajh
Diffstat (limited to 'csgo-loader/csgo-module/Module.cpp')
| -rw-r--r-- | csgo-loader/csgo-module/Module.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/csgo-loader/csgo-module/Module.cpp b/csgo-loader/csgo-module/Module.cpp index 1fa638c..e8fa4fc 100644 --- a/csgo-loader/csgo-module/Module.cpp +++ b/csgo-loader/csgo-module/Module.cpp @@ -38,18 +38,15 @@ DWORD ModuleThread(void *) // Header for Module.
ByteArray Header{ 0x0A, 0x32, 0x42, 0x4D };
- Client->SendRawBytes(Header);
+ Client->SendRawBytes(Header);
//////////////////////////////////////////////////////////////////////////////////////////
return 1;
}
-int __stdcall DllMain(void *, unsigned Reason, void *)
+int __stdcall DllMain(void *, unsigned, void *)
{
- if(Reason != 1)
- return false;
-
HANDLE Thread = CreateThread(nullptr, 0, ModuleThread, nullptr, 0, nullptr);
if(Thread)
|
