diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-05-09 23:02:28 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-05-09 23:02:28 +0300 |
commit | 94a9a81d9c6aa9fa287616c8b4bfc5ea86214dcd (patch) | |
tree | a5fd9ec3c5844ce9b8d6b4c63c25c9ded803a6a0 /src/being.cpp | |
parent | 51169702a6fba4626eeae44faa35ebcbf40e5fed (diff) | |
download | manaplus-94a9a81d9c6aa9fa287616c8b4bfc5ea86214dcd.tar.gz manaplus-94a9a81d9c6aa9fa287616c8b4bfc5ea86214dcd.tar.bz2 manaplus-94a9a81d9c6aa9fa287616c8b4bfc5ea86214dcd.tar.xz manaplus-94a9a81d9c6aa9fa287616c8b4bfc5ea86214dcd.zip |
Impliment air and water block types.
Diffstat (limited to 'src/being.cpp')
-rw-r--r-- | src/being.cpp | 2 |
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) |