diff options
Diffstat (limited to 'src/flooritem.h')
-rw-r--r-- | src/flooritem.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/flooritem.h b/src/flooritem.h index b4feecb5..8326982f 100644 --- a/src/flooritem.h +++ b/src/flooritem.h @@ -45,7 +45,7 @@ class FloorItem : public ActorSprite const Vector &position, Map *map); - Type getType() const { return FLOOR_ITEM; } + Type getType() const override { return FLOOR_ITEM; } /** * Returns the item ID. @@ -59,10 +59,10 @@ class FloorItem : public ActorSprite */ const ItemInfo &getInfo() const; - virtual int getTileX() const + int getTileX() const override { return mX; } - virtual int getTileY() const + int getTileY() const override { return mY; } private: |