diff options
author | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2007-07-07 19:21:10 +0000 |
---|---|---|
committer | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2007-07-07 19:21:10 +0000 |
commit | a4c7586b310a8be8ffd5c8acad88b5236695c1da (patch) | |
tree | 87af31a35a0b20326109725de88e60a8f25a5bbd /src/game-server/state.cpp | |
parent | d213cdea38ae5dda3c1cbdc6c85a2c5fe04e9399 (diff) | |
download | manaserv-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/state.cpp')
-rw-r--r-- | src/game-server/state.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game-server/state.cpp b/src/game-server/state.cpp index b1095f45..7ade4d1b 100644 --- a/src/game-server/state.cpp +++ b/src/game-server/state.cpp @@ -356,6 +356,7 @@ void GameState::update() assert(o->getType() == OBJECT_CHARACTER); Character *p = static_cast< Character * >(o); + p->clearDestination(); /* Force update of persistent data on map change, so that characters can respawn at the start of the map after a death or a disconnection. */ |