summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/textparticle.cpp4
-rw-r--r--src/textparticle.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/textparticle.cpp b/src/textparticle.cpp
index f983dbf98..b7f00ed78 100644
--- a/src/textparticle.cpp
+++ b/src/textparticle.cpp
@@ -38,8 +38,8 @@ TextParticle::TextParticle(Map *const map, const std::string &text,
mText(text),
mTextFont(font),
mColor(color),
- mOutline(outline),
- mTextWidth(mTextFont ? mTextFont->getWidth(mText) / 2 : 1)
+ mTextWidth(mTextFont ? mTextFont->getWidth(mText) / 2 : 1),
+ mOutline(outline)
{
}
diff --git a/src/textparticle.h b/src/textparticle.h
index 802c11e56..f48a57196 100644
--- a/src/textparticle.h
+++ b/src/textparticle.h
@@ -55,8 +55,8 @@ class TextParticle final : public Particle
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. */
- bool mOutline; /**< Make the text better readable */
int mTextWidth;
+ bool mOutline; /**< Make the text better readable */
};
#endif // TEXTPARTICLE_H