From 9ea0bb101506d6aa39b232f861b1e55d204e902d Mon Sep 17 00:00:00 2001 From: Erik Schilling Date: Sat, 2 Nov 2013 22:40:04 +0100 Subject: Do not send dir changes back to the player itself --- src/game-server/state.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); -- cgit v1.2.3-70-g09d2