1
This commit is contained in:
parent
bc915e2c3f
commit
d54d30af40
@ -1299,6 +1299,8 @@ void Room::UpdateGasInactive()
|
|||||||
UpdateGasInactiveNewBie();
|
UpdateGasInactiveNewBie();
|
||||||
} else if (IsPveRoom()) {
|
} else if (IsPveRoom()) {
|
||||||
UpdateGasInactivePve();
|
UpdateGasInactivePve();
|
||||||
|
} else if (IsMobaModeRoom()) {
|
||||||
|
UpdateGasInactiveMoba();
|
||||||
} else {
|
} else {
|
||||||
UpdateGasInactivePvp();
|
UpdateGasInactivePvp();
|
||||||
}
|
}
|
||||||
@ -1475,9 +1477,14 @@ void Room::UpdateGasInactiveNewBie()
|
|||||||
InitAndroidAI();
|
InitAndroidAI();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void Room::UpdateGasInactiveMoba()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
void Room::UpdateGasWaiting()
|
void Room::UpdateGasWaiting()
|
||||||
{
|
{
|
||||||
if (IsPveRoom() || IsNewBieRoom()) {
|
if (IsPveRoom() || IsNewBieRoom() || IsMobaModeRoom()) {
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
if (GetFrameNo() - gas_data_.gas_start_frameno >=
|
if (GetFrameNo() - gas_data_.gas_start_frameno >=
|
||||||
@ -2665,9 +2672,6 @@ int Room::GetOnlinePlayerNum()
|
|||||||
|
|
||||||
size_t Room::GetRoomMaxPlayerNum()
|
size_t Room::GetRoomMaxPlayerNum()
|
||||||
{
|
{
|
||||||
if (IsMobaModeRoom()) {
|
|
||||||
return 8;
|
|
||||||
}
|
|
||||||
if (pve_instance) {
|
if (pve_instance) {
|
||||||
return pve_human_num;
|
return pve_human_num;
|
||||||
}
|
}
|
||||||
|
@ -291,6 +291,7 @@ private:
|
|||||||
void UpdateGasInactivePvp();
|
void UpdateGasInactivePvp();
|
||||||
void UpdateGasInactivePve();
|
void UpdateGasInactivePve();
|
||||||
void UpdateGasInactiveNewBie();
|
void UpdateGasInactiveNewBie();
|
||||||
|
void UpdateGasInactiveMoba();
|
||||||
void UpdateGasWaiting();
|
void UpdateGasWaiting();
|
||||||
void UpdateGasMoving();
|
void UpdateGasMoving();
|
||||||
void UpdateGasJump();
|
void UpdateGasJump();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user