diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-24 12:18:21 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-24 12:18:21 +0300 |
commit | af2677411d895573cf9bc225518d6a1a16079863 (patch) | |
tree | ea7f4fd07c791ca61617943acab038d19b55b2e0 /src/particle/textparticle.h | |
parent | 950b1bc690ff36013e5e650572872ee7acd5e942 (diff) | |
download | manaplus-af2677411d895573cf9bc225518d6a1a16079863.tar.gz manaplus-af2677411d895573cf9bc225518d6a1a16079863.tar.bz2 manaplus-af2677411d895573cf9bc225518d6a1a16079863.tar.xz manaplus-af2677411d895573cf9bc225518d6a1a16079863.zip |
add final keyword to particles files.
Diffstat (limited to 'src/particle/textparticle.h')
-rw-r--r-- | src/particle/textparticle.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/particle/textparticle.h b/src/particle/textparticle.h index 272f1c6e1..7b63ff259 100644 --- a/src/particle/textparticle.h +++ b/src/particle/textparticle.h @@ -41,14 +41,14 @@ class TextParticle final : public Particle * Draws the particle image. */ bool draw(Graphics *const graphics, - const int offsetX, const int offsetY) const override; + const int offsetX, const int offsetY) const override final; // hack to improve text visibility - int getPixelY() const override A_WARN_UNUSED + int getPixelY() const override final A_WARN_UNUSED { return static_cast<int>(mPos.y + mPos.z); } // hack to improve text visibility (for sorting only) - int getSortPixelY() const override A_WARN_UNUSED + int getSortPixelY() const override final A_WARN_UNUSED { return static_cast<int>(mPos.y + mPos.z); } private: |