diff options
author | Safwat Halaby <SafwatHalaby@users.noreply.github.com> | 2015-05-30 09:31:26 +0200 |
---|---|---|
committer | Safwat Halaby <SafwatHalaby@users.noreply.github.com> | 2015-05-30 09:31:26 +0200 |
commit | 054d2cd451f7f9611983e3f5e22450d83935ef91 (patch) | |
tree | 313449e70f063965b0ae0ba5ad205b4e9f1b4333 /src/Mobs/Guardian.cpp | |
parent | Merge pull request #2165 from SafwatHalaby/creeper (diff) | |
parent | Disabled squid and Guardian Pathfinding (diff) | |
download | cuberite-054d2cd451f7f9611983e3f5e22450d83935ef91.tar cuberite-054d2cd451f7f9611983e3f5e22450d83935ef91.tar.gz cuberite-054d2cd451f7f9611983e3f5e22450d83935ef91.tar.bz2 cuberite-054d2cd451f7f9611983e3f5e22450d83935ef91.tar.lz cuberite-054d2cd451f7f9611983e3f5e22450d83935ef91.tar.xz cuberite-054d2cd451f7f9611983e3f5e22450d83935ef91.tar.zst cuberite-054d2cd451f7f9611983e3f5e22450d83935ef91.zip |
Diffstat (limited to 'src/Mobs/Guardian.cpp')
-rw-r--r-- | src/Mobs/Guardian.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Mobs/Guardian.cpp b/src/Mobs/Guardian.cpp index cfe7861a6..1429e2b13 100644 --- a/src/Mobs/Guardian.cpp +++ b/src/Mobs/Guardian.cpp @@ -37,9 +37,10 @@ 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 + // 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 |