summaryrefslogtreecommitdiffstats
path: root/src/Mobs
diff options
context:
space:
mode:
authorSafwat Halaby <SafwatHalaby@users.noreply.github.com>2015-09-27 18:48:37 +0200
committerSafwat Halaby <SafwatHalaby@users.noreply.github.com>2015-09-27 18:48:37 +0200
commitfc1633d6e6b7542d02042472236579fae14464c7 (patch)
tree64169065d825609d7bd7dc73b797b9c56b98baf6 /src/Mobs
parentMerge pull request #2465 from electromatter/master (diff)
downloadcuberite-fc1633d6e6b7542d02042472236579fae14464c7.tar
cuberite-fc1633d6e6b7542d02042472236579fae14464c7.tar.gz
cuberite-fc1633d6e6b7542d02042472236579fae14464c7.tar.bz2
cuberite-fc1633d6e6b7542d02042472236579fae14464c7.tar.lz
cuberite-fc1633d6e6b7542d02042472236579fae14464c7.tar.xz
cuberite-fc1633d6e6b7542d02042472236579fae14464c7.tar.zst
cuberite-fc1633d6e6b7542d02042472236579fae14464c7.zip
Diffstat (limited to 'src/Mobs')
-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)