Compare commits

...

1 Commits
hw ... master

Author SHA1 Message Date
aozhiwei
d94635c78c 修复点射问题 2020-11-30 13:46:58 +08:00

View File

@ -867,8 +867,13 @@ void Player::_CMMove(f8::MsgHdr& hdr, const cs::CMMove& msg)
if (moving) {
moved_frames = 0;
}
//前一个状态是纯点射
if (shot_start && !shot_hold) {
} else {
shot_start = msg.shot_start();
shot_hold = msg.shot_hold();
}
fly_distance = std::min(200.0f, msg.fly_distance());
if (!shot_hold) {
series_shot_frames = 0;