summaryrefslogtreecommitdiff
path: root/src/textparticle.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-12-31 22:27:26 +0300
committerAndrei Karas <akaras@inbox.ru>2012-12-31 22:46:08 +0300
commit82ace39b426a843382a6a809e7b66487c1412494 (patch)
treec8434c5465d0f0a44aa1a4b438dbe4dfbce317f6 /src/textparticle.cpp
parentf355fe070293a3f80b33ee0bc0154b2fe767fc4d (diff)
downloadmanaverse-82ace39b426a843382a6a809e7b66487c1412494.tar.gz
manaverse-82ace39b426a843382a6a809e7b66487c1412494.tar.bz2
manaverse-82ace39b426a843382a6a809e7b66487c1412494.tar.xz
manaverse-82ace39b426a843382a6a809e7b66487c1412494.zip
Fix code style and compilation under windows.
Diffstat (limited to 'src/textparticle.cpp')
-rw-r--r--src/textparticle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/textparticle.cpp b/src/textparticle.cpp
index 178a6a086..85d0d6738 100644
--- a/src/textparticle.cpp
+++ b/src/textparticle.cpp
@@ -71,7 +71,7 @@ bool TextParticle::draw(Graphics *graphics, int offsetX, int offsetY) const
}
gcn::Color color = *mColor;
- color.a = (int)alpha;
+ color.a = static_cast<int>(alpha);
graphics->setColor(color);
if (mOutline)