summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-07-28 21:51:27 +0300
committerAndrei Karas <akaras@inbox.ru>2013-07-28 21:51:27 +0300
commit3105ca8c138874170514ef53198ca1ad3d119add (patch)
tree765429404cb5cef6b184451023b9aff19646baf1
parent41e471613e25961e25517de811aa131da033e0f1 (diff)
downloadManaVerse-3105ca8c138874170514ef53198ca1ad3d119add.tar.gz
ManaVerse-3105ca8c138874170514ef53198ca1ad3d119add.tar.bz2
ManaVerse-3105ca8c138874170514ef53198ca1ad3d119add.tar.xz
ManaVerse-3105ca8c138874170514ef53198ca1ad3d119add.zip
move bools in textparticle.
-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