[Dvar]: Remove one little patch that isn't so great (#708)
This commit is contained in:
parent
d127bbe89d
commit
90b124420f
@ -391,11 +391,6 @@ namespace Components
|
|||||||
// remove write protection from fs_game
|
// remove write protection from fs_game
|
||||||
Utils::Hook::Xor<std::uint32_t>(0x6431EA, Game::DVAR_INIT);
|
Utils::Hook::Xor<std::uint32_t>(0x6431EA, Game::DVAR_INIT);
|
||||||
|
|
||||||
// cheat protect g_hardcore
|
|
||||||
Utils::Hook::Xor<std::uint32_t>(0x5E374F, Game::DVAR_CHEAT);
|
|
||||||
Utils::Hook::Xor<std::uint32_t>(0x4D3689, Game::DVAR_CHEAT);
|
|
||||||
Utils::Hook::Xor<std::uint32_t>(0x4197C3, Game::DVAR_CHEAT);
|
|
||||||
|
|
||||||
// set cg_fov max to 160.0
|
// set cg_fov max to 160.0
|
||||||
// because that's the max on SP
|
// because that's the max on SP
|
||||||
static float cg_Fov = 160.0f;
|
static float cg_Fov = 160.0f;
|
||||||
|
@ -1594,7 +1594,7 @@ namespace Components
|
|||||||
});
|
});
|
||||||
|
|
||||||
// True by default, but can be put to zero for backward compatibility if needed
|
// True by default, but can be put to zero for backward compatibility if needed
|
||||||
ZoneBuilder::ZBPreferDiskAssets = Dvar::Register<bool>("zb_prefer_disk_assets", true, Game::DVAR_NONE, "Should ZoneBuilder prefer in-memory assets (requirements) or disk assets, when both are present");
|
ZoneBuilder::ZBPreferDiskAssets = Dvar::Register<bool>("zb_prefer_disk_assets", true, Game::DVAR_NONE, "Should ZoneBuilder prefer in-memory assets (requirements) or disk assets when both are present?");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user