From 85fd0010718f5516175fe7fb85c876e98127a829 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Thu, 29 Aug 2019 15:52:30 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9D=A6=E5=85=8B=E4=B8=8D=E5=8E=8B=E5=9D=A6?= =?UTF-8?q?=E5=85=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 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 b6a6db4..964b737 100644 --- a/server/gameserver/human.cc +++ b/server/gameserver/human.cc @@ -2002,7 +2002,7 @@ void Human::CheckSkinTank() std::set objects; for (auto& grid : grid_list) { for (Human* hum: grid->human_list) { - if (hum != this && !hum->dead && + if (hum != this && !hum->dead && !hum->tank_weapon.meta && (hum->team_id == 0 || team_id != hum->team_id)) { if (TestCollision(hum)) { objects.insert(hum);