This commit is contained in:
aozhiwei 2023-03-07 10:25:28 +08:00
parent a22c9814c9
commit bd372eff94
2 changed files with 2 additions and 1 deletions

View File

@ -2412,9 +2412,11 @@ void Creature::UpdateMove()
if (!GetMovement()->IsFindPath()) { if (!GetMovement()->IsFindPath()) {
GetMovement()->CalcTargetPos(mt::Param::s().move_step_len); GetMovement()->CalcTargetPos(mt::Param::s().move_step_len);
if (!GetMovement()->UpdatePosition()) { if (!GetMovement()->UpdatePosition()) {
#if 0
if (IsPlayer()) { if (IsPlayer()) {
ShotFindPath(); ShotFindPath();
} }
#endif
} }
} }
} }

View File

@ -7,7 +7,6 @@ class Player;
class SmokeMiTask : public MicroTask class SmokeMiTask : public MicroTask
{ {
public: public:
Room* room = nullptr;
Position bomb_pos; Position bomb_pos;
std::set<Player*> player_set; std::set<Player*> player_set;
const mt::Buff* buff_meta = nullptr; const mt::Buff* buff_meta = nullptr;