This commit is contained in:
aozhiwei 2023-09-23 17:19:02 +08:00
parent 814abfe4d0
commit 3b46014e97
2 changed files with 11 additions and 1 deletions

View File

@ -1345,7 +1345,11 @@ void Room::UpdateGasInactivePvp()
gas_data_.SetGasMode(GasJump);
gas_data_.gas_start_frameno = GetFrameNo();
if (human_hash_.size() < GetRoomMaxPlayerNum()) {
CreateAndroid(GetRoomMaxPlayerNum() - human_hash_.size());
if (IsCustomBattle()) {
FillCustomBattleHuman();
} else {
CreateAndroid(GetRoomMaxPlayerNum() - human_hash_.size());
}
NotifyUiUpdate();
}
battle_start_frameno_ = GetFrameNo();
@ -3535,3 +3539,8 @@ int Room::GetMaxTeamNum()
{
return MAX_TEAM_NUM;
}
void Room::FillCustomBattleHuman()
{
}

View File

@ -343,6 +343,7 @@ private:
bool IsAllRealDead();
void AutoJump();
void UpdateFrameCall();
void FillCustomBattleHuman();
private:
bool destorying_ = false;