summaryrefslogtreecommitdiff
path: root/src/being.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-05-09 23:02:28 +0300
committerAndrei Karas <akaras@inbox.ru>2011-05-09 23:02:28 +0300
commit94a9a81d9c6aa9fa287616c8b4bfc5ea86214dcd (patch)
treea5fd9ec3c5844ce9b8d6b4c63c25c9ded803a6a0 /src/being.cpp
parent51169702a6fba4626eeae44faa35ebcbf40e5fed (diff)
downloadplus-94a9a81d9c6aa9fa287616c8b4bfc5ea86214dcd.tar.gz
plus-94a9a81d9c6aa9fa287616c8b4bfc5ea86214dcd.tar.bz2
plus-94a9a81d9c6aa9fa287616c8b4bfc5ea86214dcd.tar.xz
plus-94a9a81d9c6aa9fa287616c8b4bfc5ea86214dcd.zip
Impliment air and water block types.
Diffstat (limited to 'src/being.cpp')
-rw-r--r--src/being.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/being.cpp b/src/being.cpp
index 95ba4a63a..8a9d3c1e1 100644
--- a/src/being.cpp
+++ b/src/being.cpp
@@ -408,6 +408,8 @@ void Being::clearPath()
void Being::setPath(const Path &path)
{
mPath = path;
+ if (mPath.empty())
+ return;
if ((Net::getNetworkType() == ServerInfo::TMWATHENA) &&
mAction != MOVE && mAction != DEAD)