From 1b75e974088a94cd28d7a48729545904b2cd908b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 16 Mar 2014 15:41:51 +0300 Subject: Remove some useless static methods from theme. --- src/particle/textparticle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/particle') diff --git a/src/particle/textparticle.cpp b/src/particle/textparticle.cpp index 41ea683f6..9d37ca73d 100644 --- a/src/particle/textparticle.cpp +++ b/src/particle/textparticle.cpp @@ -80,7 +80,7 @@ void TextParticle::draw(Graphics *const graphics, graphics->setColor(color); if (mOutline) { - graphics->setColor2(Theme::getThemeColor( + graphics->setColor2(theme->getColor( Theme::OUTLINE, static_cast(alpha))); } mTextFont->drawString(graphics, mText, screenX - mTextWidth, screenY); -- cgit v1.2.3-60-g2f50