1
This commit is contained in:
commit
9a89ca6f74
@ -68,8 +68,7 @@ void AndroidNewAI::Update(int delta_time)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
if (hum->room->GetGasData().gas_mode == GasInactive ||
|
if (hum->room->GetGasData().gas_mode == GasInactive) {
|
||||||
hum->room->GetGasData().gas_mode == GasJump) {
|
|
||||||
DefaultAi();
|
DefaultAi();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -437,7 +437,11 @@ const int ADPLAY_BUFFID = 1006;
|
|||||||
|
|
||||||
const int FIXED_OBJECT_MAXID = 20140;
|
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;
|
const int VIEW_RANGE = 512;
|
||||||
|
|
||||||
|
@ -1150,6 +1150,7 @@ void Room::UpdateGasInactive()
|
|||||||
ShuaPlane();
|
ShuaPlane();
|
||||||
NotifyWxVoip();
|
NotifyWxVoip();
|
||||||
InitAirDrop();
|
InitAirDrop();
|
||||||
|
InitAndroidAI();
|
||||||
RoomMgr::Instance()->ActiveRoom(GetRoomUuid());
|
RoomMgr::Instance()->ActiveRoom(GetRoomUuid());
|
||||||
int auto_jump_interval = MetaMgr::Instance()->GetSysParamAsInt("auto_jump_interval");
|
int auto_jump_interval = MetaMgr::Instance()->GetSysParamAsInt("auto_jump_interval");
|
||||||
auto_jump_timer_ = xtimer.AddRepeatTimerAndAttach
|
auto_jump_timer_ = xtimer.AddRepeatTimerAndAttach
|
||||||
@ -2227,7 +2228,6 @@ void Room::NotifyGameStart()
|
|||||||
if (GetRoomMode() == kZombieMode) {
|
if (GetRoomMode() == kZombieMode) {
|
||||||
ZombieModeStart();
|
ZombieModeStart();
|
||||||
}
|
}
|
||||||
InitAndroidAI();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void Room::InitObstacleDatas()
|
void Room::InitObstacleDatas()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user