summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Guardian.cpp
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 /src/Mobs/Guardian.cpp
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
Diffstat (limited to 'src/Mobs/Guardian.cpp')
-rw-r--r--src/Mobs/Guardian.cpp2
1 files changed, 1 insertions, 1 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)