From ccbedfd47f315727f445ac6f01daa85592e302ec Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 10 Dec 2012 12:43:47 +0300 Subject: Fix alpha property for image particles. --- src/imageparticle.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/imageparticle.h') diff --git a/src/imageparticle.h b/src/imageparticle.h index d4f819660..ca5aadd1b 100644 --- a/src/imageparticle.h +++ b/src/imageparticle.h @@ -57,6 +57,9 @@ class ImageParticle : public Particle virtual bool draw(Graphics *graphics, int offsetX, int offsetY) const override; + virtual void setAlpha(const float alpha) override + { mAlpha = alpha; } + static std::map imageParticleCountByName; protected: Image *mImage; /**< The image used for this particle. */ -- cgit v1.2.3-70-g09d2