summaryrefslogtreecommitdiff
path: root/src/particle
diff options
context:
space:
mode:
Diffstat (limited to 'src/particle')
-rw-r--r--src/particle/particle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/particle/particle.cpp b/src/particle/particle.cpp
index 6bd07d1fb..a1ca0b265 100644
--- a/src/particle/particle.cpp
+++ b/src/particle/particle.cpp
@@ -281,7 +281,7 @@ bool Particle::update() restrict2
if (rad < 0)
rad = PI2 + rad;
- const float range = static_cast<const float>(PI / size);
+ const float range = static_cast<float>(PI / size);
// Determines which frame the particle should play
if (A_UNLIKELY(rad < range || rad > PI2 - range))