From fc1633d6e6b7542d02042472236579fae14464c7 Mon Sep 17 00:00:00 2001 From: Safwat Halaby Date: Sun, 27 Sep 2015 19:48:37 +0300 Subject: [PATCH] Disabled squids and Guardians pathfinding, #2460 --- src/Mobs/Guardian.cpp | 2 +- src/Mobs/Squid.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Mobs/Guardian.cpp b/src/Mobs/Guardian.cpp index 1429e2b13..1bee8fdfb 100644 --- a/src/Mobs/Guardian.cpp +++ b/src/Mobs/Guardian.cpp @@ -37,7 +37,7 @@ void cGuardian::GetDrops(cItems & a_Drops, cEntity * a_Killer) void cGuardian::Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) { - m_IsFollowingPath = false; // Disable Pathfinding until it's fixed. TODO + m_PathfinderActivated = false; // Disable Pathfinding until it's fixed. TODO // We must first process current location, and only then tick, otherwise we risk processing a location in a chunk // that is not where the entity currently resides (FS #411) diff --git a/src/Mobs/Squid.cpp b/src/Mobs/Squid.cpp index 30fbfa1ff..1b0163e30 100644 --- a/src/Mobs/Squid.cpp +++ b/src/Mobs/Squid.cpp @@ -35,7 +35,7 @@ void cSquid::GetDrops(cItems & a_Drops, cEntity * a_Killer) void cSquid::Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) { - m_IsFollowingPath = false; // Disable Pathfinding until it's fixed. TODO + m_PathfinderActivated = false; // Disable Pathfinding until it's fixed. TODO // We must first process current location, and only then tick, otherwise we risk processing a location in a chunk // that is not where the entity currently resides (FS #411)