1
This commit is contained in:
parent
b6abae1922
commit
1459d93e88
@ -20,7 +20,6 @@ void Incubator::AllocAndroid(Human* target, int num)
|
|||||||
if (room->xtimer.GetRunningTimer() == nullptr) {
|
if (room->xtimer.GetRunningTimer() == nullptr) {
|
||||||
abort();
|
abort();
|
||||||
}
|
}
|
||||||
num = 1;
|
|
||||||
int try_count = 0;
|
int try_count = 0;
|
||||||
a8::Vec2 dir = a8::Vec2::UP;
|
a8::Vec2 dir = a8::Vec2::UP;
|
||||||
while (num > 0 && try_count < 20 && !hold_humans_.empty()) {
|
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)
|
bool Incubator::CanSet(Human* hum, Human* exclude_hum)
|
||||||
{
|
{
|
||||||
#if 1
|
|
||||||
return true;
|
|
||||||
#endif
|
|
||||||
Human* target = hum;
|
Human* target = hum;
|
||||||
bool can_set = true;
|
bool can_set = true;
|
||||||
room->TouchAlivePlayers
|
room->TouchAlivePlayers
|
||||||
|
Loading…
x
Reference in New Issue
Block a user