summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Monster.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2015-05-02 17:50:42 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2015-05-02 17:50:42 +0200
commit9226bdbd4c3dafe7b35f5e82a452b5ee6e8b44cf (patch)
treec9791797f079c73213f39bd8c9b69c1e80da9c23 /src/Mobs/Monster.h
parentMerge pull request #1928 from SafwatHalaby/contrib (diff)
parentPathFinding - Chunk querying optimization and improve cPath::IsSolid (diff)
downloadcuberite-9226bdbd4c3dafe7b35f5e82a452b5ee6e8b44cf.tar
cuberite-9226bdbd4c3dafe7b35f5e82a452b5ee6e8b44cf.tar.gz
cuberite-9226bdbd4c3dafe7b35f5e82a452b5ee6e8b44cf.tar.bz2
cuberite-9226bdbd4c3dafe7b35f5e82a452b5ee6e8b44cf.tar.lz
cuberite-9226bdbd4c3dafe7b35f5e82a452b5ee6e8b44cf.tar.xz
cuberite-9226bdbd4c3dafe7b35f5e82a452b5ee6e8b44cf.tar.zst
cuberite-9226bdbd4c3dafe7b35f5e82a452b5ee6e8b44cf.zip
Diffstat (limited to 'src/Mobs/Monster.h')
-rw-r--r--src/Mobs/Monster.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Mobs/Monster.h b/src/Mobs/Monster.h
index 83aa583fb..9699e74ad 100644
--- a/src/Mobs/Monster.h
+++ b/src/Mobs/Monster.h
@@ -206,7 +206,7 @@ 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 ResetPathFinding(void);
/** Sets the body yaw and head yaw/pitch based on next/ultimate destinations */