Revert "Document SDL_abs vs. SDL_fabs"

This reverts commit 8c472ed73d.
This commit is contained in:
leo60228
2021-01-01 21:37:54 -05:00
committed by Ethan Lee
parent 8c472ed73d
commit 91c3e6cbc5
2 changed files with 0 additions and 3 deletions

View File

@@ -4410,7 +4410,6 @@ void entityclass::applyfriction( int t, float xrate, float yrate )
if (entities[t].vx > 6.00f) entities[t].vx = 6.0f;
if (entities[t].vx < -6.00f) entities[t].vx = -6.0f;
// This should *not* be changed to use SDL_fabsf, which would cause noticable differences in physics.
if (SDL_abs(entities[t].vx) < xrate) entities[t].vx = 0.0f;
if (SDL_abs(entities[t].vy) < yrate) entities[t].vy = 0.0f;
}