From 3105ca8c138874170514ef53198ca1ad3d119add Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 28 Jul 2013 21:51:27 +0300 Subject: move bools in textparticle. --- src/textparticle.cpp | 4 ++-- src/textparticle.h | 2 +- 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 -- cgit v1.2.3-70-g09d2