diff options
| author | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2024-08-07 12:55:30 -0400 |
|---|---|---|
| committer | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2024-08-07 12:55:30 -0400 |
| commit | d287e79ab0e87d46ee9ba9929060ec142510f4b0 (patch) | |
| tree | 0ac4a2bc6522b587de5547445918bb6f40e00c5a /src/d/d_particle.cpp | |
| parent | d2b9d15efb7554f1c7e73c8b71e89c9d48658274 (diff) | |
Move abs and fabsf to std namespace
Diffstat (limited to 'src/d/d_particle.cpp')
| -rw-r--r-- | src/d/d_particle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/d/d_particle.cpp b/src/d/d_particle.cpp index b93df24f..b77a83df 100644 --- a/src/d/d_particle.cpp +++ b/src/d/d_particle.cpp @@ -884,7 +884,7 @@ void dPa_waveEcallBack::executeAfter(JPABaseEmitter* emitter) { rot.z = 0; emitter->setGlobalRotation(rot); - if (fabsf(speed - mVel) > mVelSpeed) { + if (std::fabsf(speed - mVel) > mVelSpeed) { if (speed - mVel > 0.0f) { speed = mVel + mVelSpeed; } else { |
