summaryrefslogtreecommitdiff
path: root/src/game-server/being.cpp
diff options
context:
space:
mode:
authorGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-07-07 19:21:10 +0000
committerGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-07-07 19:21:10 +0000
commita4c7586b310a8be8ffd5c8acad88b5236695c1da (patch)
tree87af31a35a0b20326109725de88e60a8f25a5bbd /src/game-server/being.cpp
parentd213cdea38ae5dda3c1cbdc6c85a2c5fe04e9399 (diff)
downloadmanaserv-a4c7586b310a8be8ffd5c8acad88b5236695c1da.tar.gz
manaserv-a4c7586b310a8be8ffd5c8acad88b5236695c1da.tar.bz2
manaserv-a4c7586b310a8be8ffd5c8acad88b5236695c1da.tar.xz
manaserv-a4c7586b310a8be8ffd5c8acad88b5236695c1da.zip
Fixed teleportation hack caused by caching of pathfinder results.
Diffstat (limited to 'src/game-server/being.cpp')
-rw-r--r--src/game-server/being.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game-server/being.cpp b/src/game-server/being.cpp
index 5bb608c6..59f37a88 100644
--- a/src/game-server/being.cpp
+++ b/src/game-server/being.cpp
@@ -91,7 +91,7 @@ void Being::die()
LOG_INFO("Being " << getPublicID() << " died");
setAction(DEAD);
// dead beings stay where they are
- setDestination(getPosition());
+ clearDestination();
// Notify death listeners
DeathListeners::iterator i_end = mDeathListeners.end();