Skip to content

Commit

Permalink
astyle
Browse files Browse the repository at this point in the history
  • Loading branch information
atupone committed Apr 27, 2024
1 parent 21d1fb5 commit 10feb0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bzflag/LocalPlayer.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -705,7 +705,7 @@ void LocalPlayer::doUpdateMotion(float dt)
if (nominalPlanarSpeed2)
{
float newPlanarSpeed2 = newVelocity[0] * newVelocity[0]
+ newVelocity[1] * newVelocity[1];
+ newVelocity[1] * newVelocity[1];
float scaling = newPlanarSpeed2 / nominalPlanarSpeed2;
if (scaling > 1.0f)
{
Expand Down

0 comments on commit 10feb0c

Please sign in to comment.