summaryrefslogtreecommitdiff
path: root/src/particle
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-06-04 03:18:46 +0300
committerAndrei Karas <akaras@inbox.ru>2017-06-04 03:18:46 +0300
commit5612fb3a7f20a9385ba786bb25d25081b86259dd (patch)
treea7548d655f6f8d8298d94ce2f433dd287cde78bd /src/particle
parent4431f40818f832e2cbae061927bdf59904cf5d3b (diff)
downloadManaVerse-5612fb3a7f20a9385ba786bb25d25081b86259dd.tar.gz
ManaVerse-5612fb3a7f20a9385ba786bb25d25081b86259dd.tar.bz2
ManaVerse-5612fb3a7f20a9385ba786bb25d25081b86259dd.tar.xz
ManaVerse-5612fb3a7f20a9385ba786bb25d25081b86259dd.zip
Fix code style.
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))