This commit is contained in:
aozhiwei 2019-12-03 18:49:00 +08:00
parent 56d69c5580
commit 374f478dc5

View File

@ -88,6 +88,7 @@ void Player::_CMMove(f8::MsgHdr& hdr, const cs::CMMove& msg)
a8::Vec2 old_move_dir;
TypeConvert::FromPb(move_dir, &msg.move_dir());
move_dir.Normalize();
attack_dir = move_dir;
moving = true;
}
}