[Script]: Add comments (#882)
This commit is contained in:
parent
289414d770
commit
dfe92ef2bc
@ -432,6 +432,9 @@ namespace Components
|
||||
// Uncheat ui_debugMode
|
||||
Utils::Hook::Xor<std::uint8_t>(0x6312DE, Game::DVAR_CHEAT);
|
||||
|
||||
// Uncheat jump_slowdownEnable
|
||||
Utils::Hook::Xor<std::uint32_t>(0x4EFABE, Game::DVAR_CHEAT);
|
||||
|
||||
// Hook dvar 'name' registration
|
||||
Utils::Hook(0x40531C, Dvar_RegisterName, HOOK_CALL).install()->quick();
|
||||
|
||||
|
@ -286,7 +286,7 @@ namespace Components::GSC
|
||||
Utils::Hook(0x5F41A3, SetExpFogStub, HOOK_CALL).install()->quick();
|
||||
|
||||
// Restore IW3's compiler behaviour when dealing with 'overriding builtin function'
|
||||
Utils::Hook::Nop(0x613EDA, 2);
|
||||
Utils::Hook::Nop(0x613EF0, 2);
|
||||
Utils::Hook::Nop(0x613EDA, 2); // Scr_GetFunction
|
||||
Utils::Hook::Nop(0x613EF0, 2); // Scr_GetMethod
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user