summaryrefslogtreecommitdiff
path: root/src/particle/textparticle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/particle/textparticle.cpp')
-rw-r--r--src/particle/textparticle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/particle/textparticle.cpp b/src/particle/textparticle.cpp
index ecab98068..35bef33d5 100644
--- a/src/particle/textparticle.cpp
+++ b/src/particle/textparticle.cpp
@@ -60,7 +60,7 @@ bool TextParticle::draw(Graphics *const graphics,
const int screenY = static_cast<int>(mPos.y) - static_cast<int>(mPos.z)
+ offsetY;
- float alpha = mAlpha * 255.0f;
+ float alpha = mAlpha * 255.0F;
if (mFadeOut && mLifetimeLeft > -1 && mLifetimeLeft < mFadeOut)
{