This commit is contained in:
aozhiwei 2021-05-14 13:53:22 +08:00
parent cf46d233b8
commit d9164d85dc
2 changed files with 6 additions and 1 deletions

View File

@ -125,6 +125,11 @@ void Bullet::OnHit(std::set<Entity*>& objects)
}
}
break;
case ET_Car:
{
}
break;
default:
break;
}

View File

@ -384,7 +384,7 @@ void GridService::TouchCreatures(int room_idx,
{
bool stop = false;
for (auto& cell : grid_list) {
cell->TouchHumanList(func, room_idx, stop);
cell->TouchCreatures(func, room_idx, stop);
if (stop) {
return;
}