diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-05-11 16:44:15 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-05-11 16:44:15 +0300 |
commit | 77bb74bd2d944be1a1dc719027dbf37ad088b828 (patch) | |
tree | 0feb040a768eff20220835eb359e767dc43f113c /src/resources/beinginfo.cpp | |
parent | 835dd846af75ea2cfc91f0134156f9c6545dd8ce (diff) | |
download | plus-77bb74bd2d944be1a1dc719027dbf37ad088b828.tar.gz plus-77bb74bd2d944be1a1dc719027dbf37ad088b828.tar.bz2 plus-77bb74bd2d944be1a1dc719027dbf37ad088b828.tar.xz plus-77bb74bd2d944be1a1dc719027dbf37ad088b828.zip |
Move blocktype into separate file.
Diffstat (limited to 'src/resources/beinginfo.cpp')
-rw-r--r-- | src/resources/beinginfo.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/resources/beinginfo.cpp b/src/resources/beinginfo.cpp index d7ecb8136..b833078ae 100644 --- a/src/resources/beinginfo.cpp +++ b/src/resources/beinginfo.cpp @@ -25,6 +25,8 @@ #include "configuration.h" #include "logger.h" +#include "resources/map/blocktype.h" + #include "utils/delete2.h" #include "utils/dtor.h" #include "utils/gettext.h" @@ -47,7 +49,7 @@ BeingInfo::BeingInfo() : mWalkMask(Map::BLOCKMASK_WALL | Map::BLOCKMASK_CHARACTER | Map::BLOCKMASK_MONSTER | Map::BLOCKMASK_AIR | Map::BLOCKMASK_WATER), - mBlockType(Map::BLOCKTYPE_CHARACTER), + mBlockType(BlockType::CHARACTER), mColors(nullptr), mTargetOffsetX(0), mTargetOffsetY(0), |