View bobbing is now much more exaggerated

This commit is contained in:
CobaltXII
2019-01-03 12:24:48 -05:00
parent b5bf2d5f2a
commit 1e4a3c79e7

View File

@@ -907,9 +907,9 @@ int main(int argc, char** argv)
// Calculate the view bobbing factor.
float view_bobbing = sqrt(player_vx * player_vx + player_vz * player_vz) / 0.1440f;
float view_bobbing = sqrt(player_vx * player_vx + player_vz * player_vz) / 0.0640f;
if (view_bobbing < 0.0064f)
if (view_bobbing < 0.0128f)
{
view_bobbing = 0.0f;
}