1
This commit is contained in:
commit
6b48c7fd66
@ -208,9 +208,10 @@ void RoomObstacle::SpecExplosion()
|
||||
room->grid_service->TraverseAllLayerHumanList
|
||||
(room->GetRoomIdx(),
|
||||
*grid_list_,
|
||||
[this, &human_list] (Human* hum, bool& stop)
|
||||
[this, &human_list, &bomb_pos] (Human* hum, bool& stop)
|
||||
{
|
||||
if (master.Get()->team_id != hum->team_id && TestCollision(room, hum)) {
|
||||
if (master.Get()->team_id != hum->team_id &&
|
||||
bomb_pos.Distance(hum->GetPos()) < meta->i->damage_dia()) {
|
||||
human_list.insert(hum);
|
||||
}
|
||||
}
|
||||
|
2
third_party/tools
vendored
2
third_party/tools
vendored
@ -1 +1 @@
|
||||
Subproject commit d80b40c567a3cf83984cee26d9df18d755f57a05
|
||||
Subproject commit 4ce83a44219390264b0ca6bb85541230f44827cf
|
Loading…
x
Reference in New Issue
Block a user