summaryrefslogtreecommitdiff
path: root/src/being/being.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-04-02 12:26:23 +0300
committerAndrei Karas <akaras@inbox.ru>2015-04-02 12:26:23 +0300
commit124e28787a66fc1ae882afbb5711b08620b51563 (patch)
tree5f172652494234e6caae74cf04a2cd4d0083cbf0 /src/being/being.h
parent48746ecb8cd94270f143cc7d722188d2e77c3101 (diff)
downloadmv-124e28787a66fc1ae882afbb5711b08620b51563.tar.gz
mv-124e28787a66fc1ae882afbb5711b08620b51563.tar.bz2
mv-124e28787a66fc1ae882afbb5711b08620b51563.tar.xz
mv-124e28787a66fc1ae882afbb5711b08620b51563.zip
Remove useless virtual keywords.
Diffstat (limited to 'src/being/being.h')
-rw-r--r--src/being/being.h8
1 files changed, 4 insertions, 4 deletions
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);