This commit is contained in:
momo5502 2016-09-04 12:45:47 +02:00
parent f045863ddc
commit 4cb707d43d
2 changed files with 4 additions and 1 deletions

View File

@ -522,6 +522,9 @@ namespace Components
FreeConsole();
Utils::Hook::Nop(0x60BB58, 11);
// Redirect input (]command)
Utils::Hook(0x47025A, 0x4F5770, HOOK_CALL).Install()->Quick();
Utils::Hook(0x60BB68, [] ()
{
Console::ConsoleThread = std::thread(Console::ConsoleRunner);

View File

@ -170,7 +170,7 @@ namespace Components
Utils::Hook::Set<DWORD>(0x45ACE0, 0xC301B0);
// fs_basegame
Utils::Hook::Set<char*>(0x6431D1, BASEGAME);
Utils::Hook::Set<char*>(0x6431D1, BASEGAME);
// UI version string
Utils::Hook::Set<char*>(0x43F73B, "IW4x: " VERSION);