summaryrefslogtreecommitdiff
path: root/src/particle
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-02-18 13:20:34 +0300
committerAndrei Karas <akaras@inbox.ru>2015-02-18 13:20:34 +0300
commit0c863b2e2cc7f5be6baa918c8fffb0ee44c02cc7 (patch)
treeaebc2d6eae2325c1c077849cc43f8ac07d6a76f6 /src/particle
parent4b754c29f7fe0c7531fa6ce68a70a913e7172337 (diff)
downloadmanaplus-0c863b2e2cc7f5be6baa918c8fffb0ee44c02cc7.tar.gz
manaplus-0c863b2e2cc7f5be6baa918c8fffb0ee44c02cc7.tar.bz2
manaplus-0c863b2e2cc7f5be6baa918c8fffb0ee44c02cc7.tar.xz
manaplus-0c863b2e2cc7f5be6baa918c8fffb0ee44c02cc7.zip
Add missing override keywords.
Diffstat (limited to 'src/particle')
-rw-r--r--src/particle/particle.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/particle/particle.h b/src/particle/particle.h
index 3fdd653e6..f5b2e561d 100644
--- a/src/particle/particle.h
+++ b/src/particle/particle.h
@@ -271,10 +271,10 @@ class Particle notfinal : public Actor
{ mAutoDelete = false; }
/** We consider particles (at least for now) to be one layer-sprites */
- virtual int getNumberOfLayers() const
+ int getNumberOfLayers() const override final
{ return 1; }
- virtual float getAlpha() const
+ float getAlpha() const override final
{ return 1.0F; }
virtual void setAlpha(const float alpha A_UNUSED) override