刷飞机的时候发生微信语音
This commit is contained in:
parent
58ecc1d776
commit
dceb8060e7
@ -785,6 +785,7 @@ void Room::UpdateGas()
|
|||||||
gas_data.gas_mode = GasJump;
|
gas_data.gas_mode = GasJump;
|
||||||
gas_data.gas_start_frameno = frame_no;
|
gas_data.gas_start_frameno = frame_no;
|
||||||
ShuaPlane();
|
ShuaPlane();
|
||||||
|
NotifyWxVoip();
|
||||||
RoomMgr::Instance()->ActiveRoom(room_uuid);
|
RoomMgr::Instance()->ActiveRoom(room_uuid);
|
||||||
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(SERVER_FRAME_RATE * auto_jump_interval,
|
auto_jump_timer_ = xtimer.AddRepeatTimerAndAttach(SERVER_FRAME_RATE * auto_jump_interval,
|
||||||
@ -849,7 +850,6 @@ void Room::UpdateGas()
|
|||||||
battle_start_frameno_ = frame_no;
|
battle_start_frameno_ = frame_no;
|
||||||
xtimer.DeleteTimer(auto_jump_timer_);
|
xtimer.DeleteTimer(auto_jump_timer_);
|
||||||
auto_jump_timer_ = nullptr;
|
auto_jump_timer_ = nullptr;
|
||||||
NotifyWxVoip();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user