From b3c827fbcfb751f9341ca23d821a48044f374270 Mon Sep 17 00:00:00 2001 From: Daegaladh Date: Mon, 16 Sep 2024 20:24:38 +0200 Subject: [PATCH] Fixed coordinates check --- src/map/clif.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/map/clif.cpp b/src/map/clif.cpp index 575867ded2..54fa3ba2d6 100644 --- a/src/map/clif.cpp +++ b/src/map/clif.cpp @@ -15457,7 +15457,7 @@ void clif_parse_HomMoveTo(int fd, map_session_data *sd){ else return; - if (x < 0 || y < 0 || x == bl->x || y == bl->y) + if (x < 0 || y < 0 || (x == bl->x && y == bl->y)) return; unit_walktoxy(bl, x, y, 4);