summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSafwat Halaby <SafwatHalaby@users.noreply.github.com>2015-09-27 18:58:14 +0200
committerSafwat Halaby <SafwatHalaby@users.noreply.github.com>2015-09-27 18:58:14 +0200
commitebfdac16dc67eb0ade4ca1b73944f640680cb1c3 (patch)
tree64169065d825609d7bd7dc73b797b9c56b98baf6
parentMerge pull request #2465 from electromatter/master (diff)
parentDisabled squids and Guardians pathfinding, #2460 (diff)
downloadcuberite-ebfdac16dc67eb0ade4ca1b73944f640680cb1c3.tar
cuberite-ebfdac16dc67eb0ade4ca1b73944f640680cb1c3.tar.gz
cuberite-ebfdac16dc67eb0ade4ca1b73944f640680cb1c3.tar.bz2
cuberite-ebfdac16dc67eb0ade4ca1b73944f640680cb1c3.tar.lz
cuberite-ebfdac16dc67eb0ade4ca1b73944f640680cb1c3.tar.xz
cuberite-ebfdac16dc67eb0ade4ca1b73944f640680cb1c3.tar.zst
cuberite-ebfdac16dc67eb0ade4ca1b73944f640680cb1c3.zip
-rw-r--r--src/Mobs/Guardian.cpp2
-rw-r--r--src/Mobs/Squid.cpp2
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)