From e222366ac0d79a02f34e27e4a80c50faec64a558 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Thu, 17 Jun 2021 13:17:06 +0800 Subject: [PATCH] =?UTF-8?q?9.=E6=9C=BA=E7=94=B2=E7=8A=B6=E6=80=81=E4=B8=8B?= =?UTF-8?q?=E5=BA=94=E6=97=A0=E6=B3=95=E4=BD=BF=E7=94=A8=E4=BC=AA=E8=A3=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/gameserver/human.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server/gameserver/human.cc b/server/gameserver/human.cc index a17cc22..db7b9b1 100644 --- a/server/gameserver/human.cc +++ b/server/gameserver/human.cc @@ -3801,6 +3801,9 @@ void Human::ProcUseItem(int item_id) } MetaData::Equip* item_meta = MetaMgr::Instance()->GetEquip(item_id); if (item_meta && GetItemNum(item_id) > 0) { + if (GetCar() && item_meta->i->equip_type() == EQUIP_TYPE_CAMOUFLAGE) { + return; + } if (item_meta->i->buffid() != 0) { TryAddBuff(this, item_meta->i->buffid()); }