diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-05-14 19:08:25 +0200 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-05-14 22:12:15 +0200 |
commit | 53c32dd1beb5575c38bbc830f7d37cb954be90d2 (patch) | |
tree | 66acb3c3fb03e9e08a39520f805c03ade87f6430 /src/textparticle.h | |
parent | 2477cc428795d678142bf6f66147790c71ad03fd (diff) | |
download | mana-53c32dd1beb5575c38bbc830f7d37cb954be90d2.tar.gz mana-53c32dd1beb5575c38bbc830f7d37cb954be90d2.tar.bz2 mana-53c32dd1beb5575c38bbc830f7d37cb954be90d2.tar.xz mana-53c32dd1beb5575c38bbc830f7d37cb954be90d2.zip |
Fixed alpha to also apply to the main text of a text particle
It was only being applied to the outline and shadow. This improves the
fadeout a little, but because the text is being rendered multiple times,
it still looks strange.
(cherry picked from commit 3591c264f14edf300e7d3ea20577c517a092cf50)
Diffstat (limited to 'src/textparticle.h')
-rw-r--r-- | src/textparticle.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/textparticle.h b/src/textparticle.h index 8b7d3e01..a87137ea 100644 --- a/src/textparticle.h +++ b/src/textparticle.h @@ -47,7 +47,7 @@ class TextParticle : public Particle private: std::string mText; /**< Text of the particle. */ gcn::Font *mTextFont; /**< Font used for drawing the text. */ - const gcn::Color* mColor; /**< Color used for drawing the text. */ + const gcn::Color *mColor; /**< Color used for drawing the text. */ bool mOutline; /**< Make the text better readable */ }; |