1
This commit is contained in:
parent
155ab33c17
commit
dd487b86d8
@ -68,8 +68,7 @@ void AndroidNewAI::Update(int delta_time)
|
||||
}
|
||||
}
|
||||
#endif
|
||||
if (hum->room->GetGasData().gas_mode == GasInactive ||
|
||||
hum->room->GetGasData().gas_mode == GasJump) {
|
||||
if (hum->room->GetGasData().gas_mode == GasInactive) {
|
||||
DefaultAi();
|
||||
return;
|
||||
}
|
||||
|
@ -1150,6 +1150,7 @@ void Room::UpdateGasInactive()
|
||||
ShuaPlane();
|
||||
NotifyWxVoip();
|
||||
InitAirDrop();
|
||||
InitAndroidAI();
|
||||
RoomMgr::Instance()->ActiveRoom(GetRoomUuid());
|
||||
int auto_jump_interval = MetaMgr::Instance()->GetSysParamAsInt("auto_jump_interval");
|
||||
auto_jump_timer_ = xtimer.AddRepeatTimerAndAttach
|
||||
@ -2226,7 +2227,6 @@ void Room::NotifyGameStart()
|
||||
if (GetRoomMode() == kZombieMode) {
|
||||
ZombieModeStart();
|
||||
}
|
||||
InitAndroidAI();
|
||||
}
|
||||
|
||||
void Room::InitObstacleDatas()
|
||||
|
Loading…
x
Reference in New Issue
Block a user