1
This commit is contained in:
parent
1db811e366
commit
89f9ebdbb8
@ -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();
|
||||
}
|
||||
|
@ -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();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user