坦克不压坦克
This commit is contained in:
parent
6917e2f42b
commit
85fd001071
@ -2002,7 +2002,7 @@ void Human::CheckSkinTank()
|
||||
std::set<Human*> 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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user