This commit is contained in:
aozhiwei 2019-06-07 23:02:27 +08:00
parent d52daccd94
commit dc557b32ae

View File

@ -705,9 +705,6 @@ void Player::_CMMove(f8::MsgHdr& hdr, const cs::CMMove& msg)
}
}
assert(!isnan(move_dir.x) && !isnan(move_dir.y));
#if 0
moving = msg.has_move_dir();
#endif
if (!a8::HasBitFlag(status, HS_Fly)) {
if (msg.has_attack_dir()) {
if (std::isfinite(msg.attack_dir().x()) &&