This commit is contained in:
aozhiwei 2023-03-06 19:43:51 +08:00
parent 211bc222b6
commit c44fc4dd88
2 changed files with 7 additions and 1 deletions

View File

@ -2413,7 +2413,7 @@ void Creature::UpdateMove()
GetMovement()->CalcTargetPos(mt::Param::s().move_step_len);
if (!GetMovement()->UpdatePosition()) {
if (IsPlayer()) {
ShotFindPath();
}
}
}
@ -2904,3 +2904,8 @@ void Creature::UnSetBuffTag(int tag)
{
buff_tags_.erase(tag);
}
void Creature::ShotFindPath()
{
}

View File

@ -325,6 +325,7 @@ class Creature : public MoveableEntity
int GetBuffTag(int tag);
void IncBuffTag(int tag, int val);
void UnSetBuffTag(int tag);
void ShotFindPath();
protected:
virtual void OnBuffRemove(Buff& buff);