diff options
Diffstat (limited to 'src/Mobs/Monster.h')
-rw-r--r-- | src/Mobs/Monster.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Mobs/Monster.h b/src/Mobs/Monster.h index 43861e021..9699e74ad 100644 --- a/src/Mobs/Monster.h +++ b/src/Mobs/Monster.h @@ -206,9 +206,9 @@ protected: /** Finds the next place to go This is based on the ultimate, final destination and the current position, as well as the traversed coordinates, and any environmental hazards */ - void TickPathFinding(void); + void TickPathFinding(cChunk & a_Chunk); /** Finishes a pathfinding task, be it due to failure or something else */ - void FinishPathFinding(void); + void ResetPathFinding(void); /** Sets the body yaw and head yaw/pitch based on next/ultimate destinations */ void SetPitchAndYawFromDestination(void); @@ -244,7 +244,7 @@ protected: bool m_CanPickUpLoot; int m_TicksSinceLastDamaged; // How many ticks ago we were last damaged by a player? - void HandleDaylightBurning(cChunk & a_Chunk); + void HandleDaylightBurning(cChunk & a_Chunk, bool WouldBurn); bool WouldBurnAt(Vector3d a_Location, cChunk & a_Chunk); bool m_BurnsInDaylight; double m_RelativeWalkSpeed; |