Improvements to blaze and ghast (#4547)
This commit is contained in:
@@ -313,7 +313,7 @@ void cMonster::Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk)
|
||||
HandleDaylightBurning(*Chunk, WouldBurnAt(GetPosition(), *Chunk));
|
||||
|
||||
bool a_IsFollowingPath = false;
|
||||
if (m_PathfinderActivated)
|
||||
if (m_PathfinderActivated && (GetMobType() != mtGhast)) // Pathfinder is currently disabled for ghasts, which have their own flying mechanism
|
||||
{
|
||||
if (ReachedFinalDestination() || (m_LeashToPos != nullptr))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user