This commit is contained in:
aozhiwei 2024-09-24 11:26:01 +08:00
commit 634750dcc2
2 changed files with 1 additions and 6 deletions

View File

@ -2602,7 +2602,7 @@ void Creature::FollowToTarget()
void Creature::DoRecoilForce(int distance)
{
if (distance > 0) {
if (distance > 0 && GetMovement()->GetPathSize() <= 0) {
glm::vec3 old_move_dir = GetMoveDir();
MustBeAddBuff(this, kRecoilBuffId);
SetMoveDir(GetAttackDir() * -1.0f);

View File

@ -10,11 +10,6 @@ namespace mt
void MapMode::Init1()
{
#ifdef MYDEBUG
if (mapMode() == 201) {
mapMode_ = kCircuitMatchMode;
}
#endif
}
bool MapMode::IsOpen() const