This commit is contained in:
aozhiwei 2021-05-14 13:17:49 +08:00
parent e0c39849e5
commit cf46d233b8
2 changed files with 6 additions and 0 deletions

View File

@ -1676,3 +1676,8 @@ void Player::CheckShotHoldState(Weapon* weapon)
}
}
}
void Player::SetAttackDir(const a8::Vec2& attack_dir)
{
MoveableEntity::SetAttackDir(attack_dir);
}

View File

@ -116,6 +116,7 @@ class Player : public Human
void _CMAdEnd(f8::MsgHdr& hdr, const cs::CMAdEnd& msg);
void _CMGetBoxInfo(f8::MsgHdr& hdr, const cs::CMGetBoxInfo& msg);
void _CMOpenBox(f8::MsgHdr& hdr, const cs::CMOpenBox& msg);
virtual void SetAttackDir(const a8::Vec2& attack_dir) override;
protected:
Player();