diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-10-15 21:14:04 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-10-15 21:14:04 +0300 |
commit | 7b89705cc5c491b60dab923e2f8079cfc1f4bce1 (patch) | |
tree | a3a5ceb5a142b9b954eab23c39946b0825218169 /src/being | |
parent | 8b22861c92f1cec3af31b8b9e97b16498b2d86d0 (diff) | |
download | manaverse-7b89705cc5c491b60dab923e2f8079cfc1f4bce1.tar.gz manaverse-7b89705cc5c491b60dab923e2f8079cfc1f4bce1.tar.bz2 manaverse-7b89705cc5c491b60dab923e2f8079cfc1f4bce1.tar.xz manaverse-7b89705cc5c491b60dab923e2f8079cfc1f4bce1.zip |
Convert BlockType into strong typed enum.
Diffstat (limited to 'src/being')
-rw-r--r-- | src/being/actorsprite.h | 2 | ||||
-rw-r--r-- | src/being/being.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/being/actorsprite.h b/src/being/actorsprite.h index a1f0993b6..93fddedce 100644 --- a/src/being/actorsprite.h +++ b/src/being/actorsprite.h @@ -80,7 +80,7 @@ class ActorSprite notfinal : public CompoundSprite, public Actor /** * Gets the way the object blocks pathfinding for other objects */ - virtual BlockType::BlockType getBlockType() const A_WARN_UNUSED + virtual BlockTypeT getBlockType() const A_WARN_UNUSED { return BlockType::NONE; } /** diff --git a/src/being/being.h b/src/being/being.h index 3105edc0e..8253cca55 100644 --- a/src/being/being.h +++ b/src/being/being.h @@ -400,7 +400,7 @@ class Being notfinal : public ActorSprite, /** * Gets the way the monster blocks pathfinding for other objects */ - BlockType::BlockType getBlockType() const override A_WARN_UNUSED + BlockTypeT getBlockType() const override A_WARN_UNUSED { if (!mInfo) return BlockType::NONE; |