1
This commit is contained in:
parent
60cbd67d29
commit
b987cf5464
@ -73,20 +73,18 @@ void HideBuff::Check()
|
|||||||
for (auto& pair : alert_buff_hash_) {
|
for (auto& pair : alert_buff_hash_) {
|
||||||
auto& tuple = pair.second;
|
auto& tuple = pair.second;
|
||||||
if (std::get<2>(tuple) < step_) {
|
if (std::get<2>(tuple) < step_) {
|
||||||
if (Collision::CheckCC(owner,
|
if (std::get<0>(tuple).Get()) {
|
||||||
alert_range,
|
if (Collision::CheckCC(owner,
|
||||||
std::get<0>(tuple).Get(),
|
alert_range,
|
||||||
std::get<0>(tuple).Get()->GetRadius()
|
std::get<0>(tuple).Get(),
|
||||||
)) {
|
std::get<0>(tuple).Get()->GetRadius()
|
||||||
|
)) {
|
||||||
|
} else {
|
||||||
|
leave_targets.push_back(pair.first);
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
leave_targets.push_back(pair.first);
|
leave_targets.push_back(pair.first);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (std::get<0>(tuple).Get()) {
|
|
||||||
|
|
||||||
} else {
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user