summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Squid.cpp
diff options
context:
space:
mode:
authorSafwatHalaby <SafwatHalaby@users.noreply.github.com>2015-05-30 09:03:34 +0200
committerSafwatHalaby <SafwatHalaby@users.noreply.github.com>2015-05-30 09:04:27 +0200
commita0f4e182b184f5adf7a73fe2ef6c92d966a9ec47 (patch)
tree6fc62c74a1523b41c8c7439fc26fac0055a5f1da /src/Mobs/Squid.cpp
parentFix Destroy() calling behaviour (diff)
downloadcuberite-a0f4e182b184f5adf7a73fe2ef6c92d966a9ec47.tar
cuberite-a0f4e182b184f5adf7a73fe2ef6c92d966a9ec47.tar.gz
cuberite-a0f4e182b184f5adf7a73fe2ef6c92d966a9ec47.tar.bz2
cuberite-a0f4e182b184f5adf7a73fe2ef6c92d966a9ec47.tar.lz
cuberite-a0f4e182b184f5adf7a73fe2ef6c92d966a9ec47.tar.xz
cuberite-a0f4e182b184f5adf7a73fe2ef6c92d966a9ec47.tar.zst
cuberite-a0f4e182b184f5adf7a73fe2ef6c92d966a9ec47.zip
Diffstat (limited to '')
-rw-r--r--src/Mobs/Squid.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Mobs/Squid.cpp b/src/Mobs/Squid.cpp
index d148d65f3..30fbfa1ff 100644
--- a/src/Mobs/Squid.cpp
+++ b/src/Mobs/Squid.cpp
@@ -35,9 +35,10 @@ 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
+
// 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)
-
Vector3d Pos = GetPosition();
// TODO: Not a real behavior, but cool :D