diff options
Diffstat (limited to 'src/textparticle.cpp')
-rw-r--r-- | src/textparticle.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/textparticle.cpp b/src/textparticle.cpp index ae36a121..c639b937 100644 --- a/src/textparticle.cpp +++ b/src/textparticle.cpp @@ -53,8 +53,9 @@ void TextParticle::draw(Graphics *graphics, int offsetX, int offsetY) const alpha = alpha * mLifetimePast / mFadeIn; gcn::Color color = *mColor; + color.a = (int)alpha; TextRenderer::renderText(graphics, mText, screenX, screenY, gcn::Graphics::CENTER, - color, mTextFont, mOutline, false, (int) alpha); + color, mTextFont, mOutline, false); } |