summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Monster.h
diff options
context:
space:
mode:
authorwiseoldman95 <softwatt@gmx.com>2015-05-01 19:34:24 +0200
committerwiseoldman95 <softwatt@gmx.com>2015-05-02 13:32:33 +0200
commit3586f258530aafb53ac8e1f35ab5d90f19311124 (patch)
tree58c21f9d39489a46190d93700b418864cd16b782 /src/Mobs/Monster.h
parentMerge pull request #1920 from wiseoldman95/SquashedPathFinder (diff)
downloadcuberite-3586f258530aafb53ac8e1f35ab5d90f19311124.tar
cuberite-3586f258530aafb53ac8e1f35ab5d90f19311124.tar.gz
cuberite-3586f258530aafb53ac8e1f35ab5d90f19311124.tar.bz2
cuberite-3586f258530aafb53ac8e1f35ab5d90f19311124.tar.lz
cuberite-3586f258530aafb53ac8e1f35ab5d90f19311124.tar.xz
cuberite-3586f258530aafb53ac8e1f35ab5d90f19311124.tar.zst
cuberite-3586f258530aafb53ac8e1f35ab5d90f19311124.zip
Diffstat (limited to '')
-rw-r--r--src/Mobs/Monster.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Mobs/Monster.h b/src/Mobs/Monster.h
index 43861e021..83aa583fb 100644
--- a/src/Mobs/Monster.h
+++ b/src/Mobs/Monster.h
@@ -208,7 +208,7 @@ protected:
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);
/** 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;