From b8de4b85b176a9dafabfeb59f36265df24cd9611 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Wed, 25 Sep 2019 14:25:29 +0800 Subject: [PATCH] =?UTF-8?q?=E9=81=87=E5=88=B0=E9=98=BB=E6=8C=A1=E6=97=B6?= =?UTF-8?q?=E9=80=9F=E5=BA=A6=E4=B8=8D=E5=8F=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/gameserver/human.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/gameserver/human.cc b/server/gameserver/human.cc index 8ae2b33..b0ebc55 100644 --- a/server/gameserver/human.cc +++ b/server/gameserver/human.cc @@ -1987,9 +1987,11 @@ void Human::_UpdateMove(int speed) if (IsCollisionInMapService()) { pos = old_pos; FindPathInMapService(); + #if 0 if (rand() % 3 == 0) { i += 1; } + #endif } room->grid_service.MoveHuman(this); }