From 124e28787a66fc1ae882afbb5711b08620b51563 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 2 Apr 2015 12:26:23 +0300 Subject: Remove useless virtual keywords. --- src/being/being.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/being/being.h') diff --git a/src/being/being.h b/src/being/being.h index 06f957d61..1dc44b986 100644 --- a/src/being/being.h +++ b/src/being/being.h @@ -357,7 +357,7 @@ class Being notfinal : public ActorSprite, /** * Performs being logic. */ - virtual void logic() override; + void logic() override; void petLogic(); @@ -501,13 +501,13 @@ class Being notfinal : public ActorSprite, /** * Returns the horizontal size of the current base sprite of the being. */ - virtual int getWidth() const override final A_WARN_UNUSED + int getWidth() const override final A_WARN_UNUSED { return std::max(CompoundSprite::getWidth(), DEFAULT_BEING_WIDTH); } /** * Returns the vertical size of the current base sprite of the being. */ - virtual int getHeight() const override final A_WARN_UNUSED + int getHeight() const override final A_WARN_UNUSED { return std::max(CompoundSprite::getHeight(), DEFAULT_BEING_HEIGHT); } /** @@ -556,7 +556,7 @@ class Being notfinal : public ActorSprite, static void load(); - virtual void optionChanged(const std::string &value) override; + void optionChanged(const std::string &value) override; void flashName(const int time); -- cgit v1.2.3-60-g2f50