1
This commit is contained in:
parent
c4463d8614
commit
e47e4a2462
@ -91,6 +91,9 @@ void Incubator::AllocAndroid(Human* target, int num, std::vector<Human*>* androi
|
|||||||
if (room->GetFrameNo() < wait_alloc_time_ * SERVER_FRAME_RATE) {
|
if (room->GetFrameNo() < wait_alloc_time_ * SERVER_FRAME_RATE) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
#if 1
|
||||||
|
num = 1;
|
||||||
|
#endif
|
||||||
int try_count = 0;
|
int try_count = 0;
|
||||||
glm::vec3 dir = GlmHelper::UP;
|
glm::vec3 dir = GlmHelper::UP;
|
||||||
while (num > 0 && try_count < 8 && !hold_humans_.empty()) {
|
while (num > 0 && try_count < 8 && !hold_humans_.empty()) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user