From 60ca84b4749783a9f8450c4aa3e35df4d648cef6 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Thu, 10 Nov 2022 11:31:09 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=94=E5=AD=90=E9=9A=90=E8=BA=AB=E6=97=B6?= =?UTF-8?q?=E5=8F=97=E5=87=BB=EF=BC=8C=E6=B2=A1=E6=9C=89=E7=8E=B0=E8=BA=AB?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/gameserver/human.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/server/gameserver/human.cc b/server/gameserver/human.cc index 0ed31a4e..b5d9d2a8 100644 --- a/server/gameserver/human.cc +++ b/server/gameserver/human.cc @@ -3644,6 +3644,7 @@ void Human::OnBulletHit(IBullet* bullet) } RemoveBuffByEffectId(kBET_PeaceMode); + RemoveBuffByEffectId(kBET_Hide); if (!dead && (bullet->IsBomb() || bullet->GetSender().Get()->team_id != team_id)) { float finaly_dmg = 0; if (bullet->GetSkillMeta() && SkillHelper::ProcBulletDmg(bullet, this, finaly_dmg)) {