diff --git a/server/gameserver/creature.cc b/server/gameserver/creature.cc index e0cc54bd..21dd4c3c 100644 --- a/server/gameserver/creature.cc +++ b/server/gameserver/creature.cc @@ -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() +{ + +} diff --git a/server/gameserver/creature.h b/server/gameserver/creature.h index 62fcd58b..297fb2f9 100644 --- a/server/gameserver/creature.h +++ b/server/gameserver/creature.h @@ -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);