summaryrefslogtreecommitdiff
path: root/src/being
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-10-15 21:14:04 +0300
committerAndrei Karas <akaras@inbox.ru>2015-10-15 21:14:04 +0300
commit7b89705cc5c491b60dab923e2f8079cfc1f4bce1 (patch)
treea3a5ceb5a142b9b954eab23c39946b0825218169 /src/being
parent8b22861c92f1cec3af31b8b9e97b16498b2d86d0 (diff)
downloadplus-7b89705cc5c491b60dab923e2f8079cfc1f4bce1.tar.gz
plus-7b89705cc5c491b60dab923e2f8079cfc1f4bce1.tar.bz2
plus-7b89705cc5c491b60dab923e2f8079cfc1f4bce1.tar.xz
plus-7b89705cc5c491b60dab923e2f8079cfc1f4bce1.zip
Convert BlockType into strong typed enum.
Diffstat (limited to 'src/being')
-rw-r--r--src/being/actorsprite.h2
-rw-r--r--src/being/being.h2
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;