[Wine] Revert /dev/roots changes as wine works fine for me
This commit is contained in:
parent
ab6cca65f9
commit
8732dd68e9
@ -35,13 +35,10 @@ namespace Components
|
||||
Game::R_LoadGraphicsAssets();
|
||||
|
||||
if (Dvar::Var("com_logFilter").get<bool>())
|
||||
{
|
||||
if (!Flags::HasFlag("stdout"))
|
||||
{
|
||||
Utils::Hook::Nop(0x647466, 5); // 'dvar set' lines
|
||||
Utils::Hook::Nop(0x5DF4F2, 5); // 'sending splash open' lines
|
||||
}
|
||||
}
|
||||
|
||||
Utils::Hook::Call<void()>(0x4F84C0)();
|
||||
}
|
||||
|
@ -61,13 +61,10 @@ namespace Components
|
||||
}
|
||||
|
||||
ServerCommands::ServerCommands()
|
||||
{
|
||||
if (!Flags::HasFlag("stdout"))
|
||||
{
|
||||
// Server command receive hook
|
||||
Utils::Hook(0x59449F, ServerCommands::OnServerCommandStub).install()->quick();
|
||||
}
|
||||
}
|
||||
|
||||
ServerCommands::~ServerCommands()
|
||||
{
|
||||
|
@ -146,17 +146,16 @@ namespace Components
|
||||
|
||||
StructuredData::StructuredData()
|
||||
{
|
||||
if (Dedicated::IsEnabled()) return;
|
||||
|
||||
// Do not execute this when building zones
|
||||
if (!ZoneBuilder::IsEnabled())
|
||||
{
|
||||
if (!Flags::HasFlag("stdout"))
|
||||
{
|
||||
// Correctly upgrade stats
|
||||
Utils::Hook(0x42F088, StructuredData::UpdateVersionOffsets, HOOK_CALL).install()->quick();
|
||||
|
||||
// 15 or more custom classes
|
||||
Utils::Hook::Set<BYTE>(0x60A2FE, NUM_CUSTOM_CLASSES);
|
||||
}
|
||||
|
||||
// Reset empty names
|
||||
Command::Add("checkClasses", [](Command::Params*)
|
||||
|
Loading…
Reference in New Issue
Block a user