summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Monster.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2015-05-02 17:50:08 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2015-05-02 17:50:08 +0200
commit114962943bf1697aaeab361f5aefb98d7f910ed2 (patch)
tree489c43e3e464b5dc88c99ba68be58759a1bf3cd2 /src/Mobs/Monster.h
parentMerge pull request #1919 from mathias-github/patch-1 (diff)
parentAI - Better daylight handling (diff)
downloadcuberite-114962943bf1697aaeab361f5aefb98d7f910ed2.tar
cuberite-114962943bf1697aaeab361f5aefb98d7f910ed2.tar.gz
cuberite-114962943bf1697aaeab361f5aefb98d7f910ed2.tar.bz2
cuberite-114962943bf1697aaeab361f5aefb98d7f910ed2.tar.lz
cuberite-114962943bf1697aaeab361f5aefb98d7f910ed2.tar.xz
cuberite-114962943bf1697aaeab361f5aefb98d7f910ed2.tar.zst
cuberite-114962943bf1697aaeab361f5aefb98d7f910ed2.zip
Diffstat (limited to 'src/Mobs/Monster.h')
-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;