1
This commit is contained in:
commit
9a89ca6f74
@ -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;
|
||||
}
|
||||
|
@ -437,7 +437,11 @@ const int ADPLAY_BUFFID = 1006;
|
||||
|
||||
const int FIXED_OBJECT_MAXID = 20140;
|
||||
|
||||
const int MAX_ROOM_IDX = 2018;
|
||||
#ifdef DEBUG
|
||||
const int MAX_ROOM_IDX = 100;
|
||||
#else
|
||||
const int MAX_ROOM_IDX = 1024;
|
||||
#endif
|
||||
|
||||
const int VIEW_RANGE = 512;
|
||||
|
||||
|
@ -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
|
||||
@ -2227,7 +2228,6 @@ void Room::NotifyGameStart()
|
||||
if (GetRoomMode() == kZombieMode) {
|
||||
ZombieModeStart();
|
||||
}
|
||||
InitAndroidAI();
|
||||
}
|
||||
|
||||
void Room::InitObstacleDatas()
|
||||
|
Loading…
x
Reference in New Issue
Block a user