summaryrefslogtreecommitdiff
path: root/src/game-server/state.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game-server/state.cpp')
-rw-r--r--src/game-server/state.cpp1
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. */