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