change cl_yawspeed limits

This commit is contained in:
quaK 2024-07-14 02:49:29 +03:00
parent bbf4ff5631
commit fbe50b8ca0

View File

@ -165,6 +165,9 @@ namespace gameplay
dvars::cg_gun_y = game::Dvar_RegisterFloat("cg_gun_y", 0.0f, -800.0f, 800.0f, game::DvarFlags::DVAR_FLAG_NONE, "Right position of the viewmodel");
dvars::cg_gun_z = game::Dvar_RegisterFloat("cg_gun_z", 0.0f, -800.0f, 800.0f, game::DvarFlags::DVAR_FLAG_NONE, "Up position of the viewmodel");
utils::hook::jump(0x1408D5930, cg_calculate_weapon_movement_debug_stub);
// Modify limits
dvars::override::register_float("cl_yawspeed", 140.0f, std::numeric_limits<float>::lowest(), std::numeric_limits<float>::max(), game::DVAR_FLAG_SAVED);
}
};
}