summaryrefslogtreecommitdiff
path: root/src/particle
diff options
context:
space:
mode:
Diffstat (limited to 'src/particle')
-rw-r--r--src/particle/particle.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/particle/particle.cpp b/src/particle/particle.cpp
index 82a61b9ef..dacb7b1f2 100644
--- a/src/particle/particle.cpp
+++ b/src/particle/particle.cpp
@@ -145,7 +145,7 @@ void Particle::updateSelf() restrict2
dist.x * dist.x + dist.y * dist.y + dist.z * dist.z);
break;
case ParticlePhysics::Fast:
- if (dist.x == 0.0f)
+ if (dist.x == 0.0F)
{
invHypotenuse = 0;
break;
@@ -162,7 +162,7 @@ void Particle::updateSelf() restrict2
break;
}
- if (invHypotenuse != 0.0f)
+ if (invHypotenuse != 0.0F)
{
if (mInvDieDistance > 0.0F && invHypotenuse > mInvDieDistance)
mAlive = AliveStatus::DEAD_IMPACT;