1
This commit is contained in:
parent
9a47b896c7
commit
71e52a6dd6
@ -1319,6 +1319,9 @@ void Room::UpdateGasInactive()
|
|||||||
|
|
||||||
void Room::UpdateGasInactivePvp()
|
void Room::UpdateGasInactivePvp()
|
||||||
{
|
{
|
||||||
|
if (IsPvpRankModeRoom()) {
|
||||||
|
|
||||||
|
}
|
||||||
if (GetFrameNo() - gas_data_.gas_start_frameno >=
|
if (GetFrameNo() - gas_data_.gas_start_frameno >=
|
||||||
GetGasInactiveTime() * SERVER_FRAME_RATE) {
|
GetGasInactiveTime() * SERVER_FRAME_RATE) {
|
||||||
long long begin_tick = a8::XGetTickCount();
|
long long begin_tick = a8::XGetTickCount();
|
||||||
@ -2248,6 +2251,9 @@ void Room::NotifyGameStart()
|
|||||||
|
|
||||||
long long Room::GetGasInactiveTime()
|
long long Room::GetGasInactiveTime()
|
||||||
{
|
{
|
||||||
|
if (IsPvpRankModeRoom()) {
|
||||||
|
return 60 * 60;
|
||||||
|
}
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
return 12;
|
return 12;
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user