This commit is contained in:
aozhiwei 2022-12-01 17:40:59 +08:00
parent 1db811e366
commit 89f9ebdbb8
2 changed files with 2 additions and 10 deletions

View File

@ -3548,9 +3548,11 @@ void Human::OnLand()
//着陆
RemoveBuffByEffectId(kBET_Jump);
RemoveBuffByEffectId(kBET_ThroughWall);
#if 0
if (IsAndroid() && team_uuid.empty()) {
MustBeAddBuff(this, kBeRecycleBuffId);
}
#endif
if (IsPlayer()) {
StartRefreshViewTimer();
}

View File

@ -15,11 +15,6 @@ MoveHelper::MoveHelper(class MoveableEntity* owner)
bool MoveHelper::GetMovePosition(glm::vec3& out_pos)
{
Creature* c = (Creature*)owner_;
#if 0
if (!c->IsPlayer()) {
return false;
}
#endif
if (path_index_ < paths_.size()) {
a8::Vec2 src_pos;
a8::Vec2 tar_pos;
@ -64,11 +59,6 @@ bool MoveHelper::GetMovePosition(glm::vec3& out_pos)
void MoveHelper::CalcTargetPos(float distance)
{
Creature* c = (Creature*)owner_;
#if 0
if (!c->IsPlayer()) {
return;
}
#endif
path_index_ = 0;
paths_.clear();