From 94a9a81d9c6aa9fa287616c8b4bfc5ea86214dcd Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 9 May 2011 23:02:28 +0300 Subject: Impliment air and water block types. --- src/being.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/being.cpp') 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) -- cgit v1.2.3-60-g2f50