1
This commit is contained in:
parent
9f5d6c5f7d
commit
af799ef1bd
@ -659,9 +659,11 @@ void Player::_CMMove(f8::MsgHdr& hdr, const cs::CMMove& msg)
|
|||||||
a8::Vec2 new_move_dir;
|
a8::Vec2 new_move_dir;
|
||||||
TypeConvert::FromPb(new_move_dir, &msg.move_dir());
|
TypeConvert::FromPb(new_move_dir, &msg.move_dir());
|
||||||
if (!HasBuffEffect(kBET_Vertigo)) {
|
if (!HasBuffEffect(kBET_Vertigo)) {
|
||||||
new_move_dir.Normalize();
|
if (!(HasBuffEffect(kBET_Jump) && follow_target.Get())) {
|
||||||
SetMoveDir(new_move_dir);
|
new_move_dir.Normalize();
|
||||||
moving = true;
|
SetMoveDir(new_move_dir);
|
||||||
|
moving = true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user