summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/map/clif.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 2f922eb..da26b5d 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -7229,6 +7229,9 @@ void clif_parse_ChangeDir (int fd, struct map_session_data *sd)
// RFIFOW(fd,2); // Apparently does nothing?
dir = RFIFOB (fd, 4);
+ if (dir == sd->dir)
+ return;
+
pc_setdir (sd, dir);
WBUFW (buf, 0) = 0x9c;