summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/game-server/state.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game-server/state.cpp b/src/game-server/state.cpp
index e997ad59..b4261e55 100644
--- a/src/game-server/state.cpp
+++ b/src/game-server/state.cpp
@@ -196,7 +196,7 @@ static void informPlayer(MapComposite *map, Entity *p)
}
// Send direction change messages.
- if (oflags & UPDATEFLAG_DIRCHANGE)
+ if (oflags & UPDATEFLAG_DIRCHANGE && o != p)
{
MessageOut dirMsg(GPMSG_BEING_DIR_CHANGE);
dirMsg.writeInt16(oid);