diff options
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 e13b2e13c..e95b57583 100644 --- a/src/particle/textparticle.h +++ b/src/particle/textparticle.h @@ -44,14 +44,14 @@ class TextParticle final : public Particle void draw(Graphics *restrict const graphics, const int offsetX, const int offsetY) const - restrict2 override final A_NONNULL(2); + restrict2 final A_NONNULL(2); // hack to improve text visibility - int getPixelY() const restrict2 override final A_WARN_UNUSED + int getPixelY() const restrict2 final A_WARN_UNUSED { return CAST_S32(mPos.y + mPos.z); } // hack to improve text visibility (for sorting only) - int getSortPixelY() const restrict2 override final A_WARN_UNUSED + int getSortPixelY() const restrict2 final A_WARN_UNUSED { return CAST_S32(mPos.y + mPos.z); } private: |