1
This commit is contained in:
parent
ecb2b90959
commit
4cfa4fb46e
@ -3020,7 +3020,21 @@ std::shared_ptr<std::set<int>> Creature::CalcReporterList(const mt::Equip* weapo
|
||||
switch (bullet_meta->_inventory_slot()) {
|
||||
case IS_RPG:
|
||||
{
|
||||
|
||||
float nearest_distance = FLT_MAX;
|
||||
TraverseCreatures
|
||||
(
|
||||
[] (Creature*c, bool& stop)
|
||||
{
|
||||
if (!c->IsHuman()) {
|
||||
return;
|
||||
}
|
||||
if (a8::HasBitFlag(c->status, CS_Disable)) {
|
||||
return;
|
||||
}
|
||||
if (c->dead) {
|
||||
return;
|
||||
}
|
||||
});
|
||||
}
|
||||
break;
|
||||
default:
|
||||
|
Loading…
x
Reference in New Issue
Block a user