summaryrefslogtreecommitdiff
path: root/src/particle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/particle.cpp')
-rw-r--r--src/particle.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/particle.cpp b/src/particle.cpp
index 579bbfc1..b35522ce 100644
--- a/src/particle.cpp
+++ b/src/particle.cpp
@@ -313,9 +313,11 @@ Particle::addEffect (std::string particleEffectFile, int pixelX, int pixelY)
Particle*
-Particle::addTextSplashEffect(std::string text, gcn::Font *font, gcn::Color color, int x, int y)
+Particle::addTextSplashEffect(std::string text, gcn::Font *font,
+ int colorR, int colorG, int colorB, int x, int y)
{
- Particle *newParticle = new TextParticle(mMap, text, font, color);
+ Particle *newParticle = new TextParticle(mMap, text, font,
+ colorR, colorG, colorB);
newParticle->setPosition( x,
y,
0