Disabled squids and Guardians pathfinding, #2460
This commit is contained in:
parent
11c1686092
commit
fc1633d6e6
@ -37,7 +37,7 @@ void cGuardian::GetDrops(cItems & a_Drops, cEntity * a_Killer)
|
|||||||
|
|
||||||
void cGuardian::Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk)
|
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
|
// 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)
|
// that is not where the entity currently resides (FS #411)
|
||||||
|
@ -35,7 +35,7 @@ void cSquid::GetDrops(cItems & a_Drops, cEntity * a_Killer)
|
|||||||
|
|
||||||
void cSquid::Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk)
|
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
|
// 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)
|
// that is not where the entity currently resides (FS #411)
|
||||||
|
Loading…
Reference in New Issue
Block a user