From 16b6fc9b5d59ac795e139b2a597da97953690d82 Mon Sep 17 00:00:00 2001 From: wiseoldman95 Date: Fri, 1 May 2015 18:53:24 +0300 Subject: PathFinding - Chunk querying optimization and improve cPath::IsSolid --- src/Mobs/Monster.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Mobs/Monster.h') diff --git a/src/Mobs/Monster.h b/src/Mobs/Monster.h index 43861e021..56efa056a 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 FinishPathFinding(void); /** Sets the body yaw and head yaw/pitch based on next/ultimate destinations */ -- cgit v1.2.3