mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-27 04:12:17 +00:00
Make fear and fleeing respect navmesh for both clients and NPCs
This commit is contained in:
1 parent
8a580a7774
commit
8a28e8500d
3 files changed
+24
-19
No files matched your search
+6
-2
@@ -1142,8 +1142,12 @@ void Mob::AI_Process() {
|
||||
bool WaypointChanged, NodeReached;
|
||||
|
||||
glm::vec3 Goal = UpdatePath(
|
||||
m_FearWalkTarget.x, m_FearWalkTarget.y, m_FearWalkTarget.z,
|
||||
GetFearSpeed(), WaypointChanged, NodeReached
|
||||
m_FearWalkTarget.x,
|
||||
m_FearWalkTarget.y,
|
||||
m_FearWalkTarget.z,
|
||||
GetFearSpeed(),
|
||||
WaypointChanged,
|
||||
NodeReached
|
||||
);
|
||||
|
||||
if (WaypointChanged)
|
||||
|
||||
Reference in new issue
Block a user