diff options
Diffstat (limited to 'src/particle')
-rw-r--r-- | src/particle/textparticle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/particle/textparticle.cpp b/src/particle/textparticle.cpp index c78002bc9..8a886f27d 100644 --- a/src/particle/textparticle.cpp +++ b/src/particle/textparticle.cpp @@ -74,7 +74,7 @@ void TextParticle::draw(Graphics *restrict const graphics, } Color color = *mColor; - color.a = static_cast<int>(alpha); + color.a = static_cast<unsigned int>(alpha); graphics->setColor(color); if (mOutline) |