From 41a43cd4bc7d44220093b37cdf0e43c729781703 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Thu, 9 Mar 2023 14:12:25 +0800 Subject: [PATCH] 1 --- server/gameserver/creature.cc | 2 +- server/gameserver/creature.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server/gameserver/creature.cc b/server/gameserver/creature.cc index 0919c1ea..b907d31d 100644 --- a/server/gameserver/creature.cc +++ b/server/gameserver/creature.cc @@ -2907,7 +2907,7 @@ void Creature::UnSetBuffTag(int tag) buff_tags_.erase(tag); } -void Creature::ShotFindPath() +void Creature::ShortFindPath() { if (std::abs(GetMoveDir().x) > FLT_EPSILON || std::abs(GetMoveDir().z) > FLT_EPSILON diff --git a/server/gameserver/creature.h b/server/gameserver/creature.h index 3a793083..2dc69f46 100644 --- a/server/gameserver/creature.h +++ b/server/gameserver/creature.h @@ -327,7 +327,7 @@ class Creature : public MoveableEntity int GetBuffTag(int tag); void IncBuffTag(int tag, int val); void UnSetBuffTag(int tag); - void ShotFindPath(); + void ShortFindPath(); float GetSkillRaycastDistance(); protected: