1
This commit is contained in:
parent
814abfe4d0
commit
3b46014e97
@ -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()
|
||||
{
|
||||
|
||||
}
|
||||
|
@ -343,6 +343,7 @@ private:
|
||||
bool IsAllRealDead();
|
||||
void AutoJump();
|
||||
void UpdateFrameCall();
|
||||
void FillCustomBattleHuman();
|
||||
|
||||
private:
|
||||
bool destorying_ = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user