From d8b4ddd1d5ba886073b8f3a636d4508e3693c2b6 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Wed, 24 Mar 2021 10:32:32 +0800 Subject: [PATCH] 1 --- server/gameserver/human.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/gameserver/human.cc b/server/gameserver/human.cc index 8a30de4..3093f36 100644 --- a/server/gameserver/human.cc +++ b/server/gameserver/human.cc @@ -561,7 +561,8 @@ bool Human::IsCollisionInMapService() if (room->OverBorder(GetPos(), meta->i->radius())){ return true; } - if (HasBuffEffect(kBET_ThroughWall)) { + if (HasBuffEffect(kBET_ThroughWall) || + HasBuffEffect(kBET_Fly)) { return false; }