summaryrefslogtreecommitdiff
path: root/src/being/being.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-30 17:04:50 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-30 17:04:50 +0300
commit2a33b736dc93251bf7a72364c5f818142362a3ce (patch)
treef2739f3f5721d517149a8b00d0c88fbfe095aaea /src/being/being.cpp
parent2b46f2d6d7cd732f1f4f1d9e8a15a1428166a959 (diff)
downloadmv-2a33b736dc93251bf7a72364c5f818142362a3ce.tar.gz
mv-2a33b736dc93251bf7a72364c5f818142362a3ce.tar.bz2
mv-2a33b736dc93251bf7a72364c5f818142362a3ce.tar.xz
mv-2a33b736dc93251bf7a72364c5f818142362a3ce.zip
Convert Reachable enum into strong typed enum.
Diffstat (limited to 'src/being/being.cpp')
-rw-r--r--src/being/being.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp
index 179e64635..ddd0e7473 100644
--- a/src/being/being.cpp
+++ b/src/being/being.cpp
@@ -41,7 +41,6 @@
#include "enums/being/attributes.h"
#include "enums/being/beingdirection.h"
-#include "enums/being/reachable.h"
#include "enums/net/packettypes.h"
@@ -202,7 +201,7 @@ Being::Being(const BeingId id,
mHP(0),
mMaxHP(0),
mDistance(0),
- mIsReachable(Reachable::REACH_UNKNOWN),
+ mReachable(Reachable::REACH_UNKNOWN),
mGoodStatus(-1),
mMoveTime(0),
mAttackTime(0),