This commit is contained in:
aozhiwei 2021-04-16 15:29:02 +08:00
parent b6abae1922
commit 1459d93e88

View File

@ -20,7 +20,6 @@ void Incubator::AllocAndroid(Human* target, int num)
if (room->xtimer.GetRunningTimer() == nullptr) {
abort();
}
num = 1;
int try_count = 0;
a8::Vec2 dir = a8::Vec2::UP;
while (num > 0 && try_count < 20 && !hold_humans_.empty()) {
@ -117,9 +116,6 @@ void Incubator::RecycleAndroid(Human* hum)
bool Incubator::CanSet(Human* hum, Human* exclude_hum)
{
#if 1
return true;
#endif
Human* target = hum;
bool can_set = true;
room->TouchAlivePlayers