From 6a1dfd103abbb81103aba22215d4f7c54a5a5178 Mon Sep 17 00:00:00 2001 From: shelru Date: Mon, 12 Sep 2016 10:44:46 +0300 Subject: [PATCH] Fix wad files download MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Фикс скачки файлов короче, создавалась папка вместо файла. --- MiniBase/main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/MiniBase/main.cpp b/MiniBase/main.cpp index 4dce134..06df9e7 100644 --- a/MiniBase/main.cpp +++ b/MiniBase/main.cpp @@ -560,7 +560,8 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpReserved){ HexReplaceInLibrary("cstrike/cl_dlls/client.dll", "1C518BC8FF9280000000817C241C0003", "1C518BC8FF9280000000817C241C0001"); HexReplaceInLibrary("cstrike/cl_dlls/client.dll", "8B44243C3D000300008B4424187D348B", "8B44243C3D000100008B4424187D348B"); HexReplaceInLibrary("cstrike/cl_dlls/client.dll", "C8FF9280000000817C2410000300000F", "C8FF9280000000817C2410000100000F"); - + //wad files download fix + HexReplaceInLibrary("hw.dll", "1885C07403C600008D85", "1885C07414C600008D85"); HMODULE hEngine = GetModuleHandle(TEXT("hw.dll")); if (hEngine == NULL) { hEngine = GetModuleHandle(TEXT("sw.dll"));