From 0b01bef8cca81eb5d9f9133a6fb56d0cd34b712a Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Thu, 17 Dec 2020 16:10:15 +0800 Subject: [PATCH] 1 --- server/gameserver/human.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/gameserver/human.cc b/server/gameserver/human.cc index f3c71f4..0299ccf 100644 --- a/server/gameserver/human.cc +++ b/server/gameserver/human.cc @@ -4202,7 +4202,7 @@ void Human::OnLand() SetPos(old_pos + dir * i); if (!IsCollisionInMapService()) { room->grid_service->MoveHuman(this); - break; + return; } } }