1
This commit is contained in:
parent
56d69c5580
commit
374f478dc5
@ -88,6 +88,7 @@ void Player::_CMMove(f8::MsgHdr& hdr, const cs::CMMove& msg)
|
|||||||
a8::Vec2 old_move_dir;
|
a8::Vec2 old_move_dir;
|
||||||
TypeConvert::FromPb(move_dir, &msg.move_dir());
|
TypeConvert::FromPb(move_dir, &msg.move_dir());
|
||||||
move_dir.Normalize();
|
move_dir.Normalize();
|
||||||
|
attack_dir = move_dir;
|
||||||
moving = true;
|
moving = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user